Yeah, I was thinking of doing that. Problem I fall into is I had to make some edits to the satchmo.products.utils. So if I copy the satchmo package and place it into a staging directory and tie my .conf to that, The errors I get affect the live site.
My client wanted to display specific product variation images when selecting from the option list of a product detail page. This created loads of problems. Here is the edit that I made within the productvariation_details function: You can see an example here: http://www.rebeccaminkoffstore.com/product/clutch/ # added by Anthony Cintron - August 2, 2009 at 5:46 PM # new and improved method for pulling in images prod_variations = ProductVariation.objects.filter(parent=product.id) pictures = {} # go through product variations for pv in prod_variations: pv_slug = pv product_images = ProductImage.objects.filter(product=pv.pk) product_assets = [] pictures[str(pv_slug)] = [] for i in product_images: product_assets.append(str(i.picture)) pictures[str(pv_slug)] = product_assets #log.debug('IMAGES %s', pv) details['PICTURES'] = pictures If anyone has a better solution, I would love to take this piece of hack outside of the function. regards, Ant On Aug 13, 2009, at 11:25 AM, Jim Robert wrote: > I wouldn't put the staging environment on the same domain... create > a subdomain (or similar) for it. > > you can always do a sql dump of the live site and use that for your > testing system. Just make sure you set your staging environment to > use the testing version of your payment modules so you don't > accidentally charge up somebody's credit card > > On Thu, Aug 13, 2009 at 11:17 AM, Anthony Cintron <[email protected] > > wrote: > > I'm looking into building a staging environment for testing and > debugging. Could I fall into problems with having duplicate satchmo > apps on the same domain? > > - Anthony > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
