Change image on option/variation selection

8 views
Skip to first unread message

Jay Wineinger

unread,
Jul 3, 2010, 11:54:09 AM7/3/10
to Satchmo users
Hi guys,

I'm completely new to satchmo but have a couple of years of experience
with django. I'm looking to setup a satchmo store for a client and I'm
wondering what the capabilities are for changing the displayed image
on a product when a customer chooses a product variation via the
option group dropdowns. Does it already do this? If not, can anyone
provide some pointers as to what would need to happen to make it work
(I can do the python+JavaScript), and perhaps a guess on the
difficulty.

thanks!
Jay

Chris Moffitt

unread,
Jul 5, 2010, 9:48:41 PM7/5/10
to satchm...@googlegroups.com
Jay,

The default install of Satchmo does not do this. However, I know some folks have implemented this using javascript in the templates. However, I would like to incorporate this feature into Satchmo so I'm open to modifying the core views and templates to make this the default behavior.

I haven't had the time to dive into a more in-depth analysis of steps to make this happen but hopefully we can get some folks to provide some hints of how best to accomplish.

-Chris


--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To post to this group, send email to satchm...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.


Martin Eve

unread,
Aug 22, 2011, 2:21:57 AM8/22/11
to satchm...@googlegroups.com
For those still interested, I put the basic changes to get the image into the variations JSON on the product variation details page up at: https://bitbucket.org/MartinEve/satchmo_variation_image

Chris Moffitt

unread,
Aug 22, 2011, 10:37:53 AM8/22/11
to satchm...@googlegroups.com
Martin,

Thanks for doing this and submitting the pull request. I took a quick look and all appears good but it's always good to have another set of eyes on it.

I also think it would be good to make the template changes so that the default templates would include this functionality.

-Chris

On Mon, Aug 22, 2011 at 1:21 AM, Martin Eve <mar...@martineve.com> wrote:
For those still interested, I put the basic changes to get the image into the variations JSON on the product variation details page up at: https://bitbucket.org/MartinEve/satchmo_variation_image

--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/satchmo-users/-/rTHHf7rwczoJ.
Reply all
Reply to author
Forward
0 new messages