Make POD image for product view a bit more sane
This commit is contained in:
parent
536e1aa3eb
commit
ad2724fd2f
2 changed files with 1 additions and 3 deletions
|
@ -313,8 +313,6 @@ class ProductsView(MasterView):
|
|||
if product.upc:
|
||||
kwargs['image_url'] = pod.get_image_url(self.rattail_config, product.upc)
|
||||
kwargs['image_path'] = pod.get_image_path(self.rattail_config, product.upc)
|
||||
if os.path.exists(kwargs['image_path']):
|
||||
kwargs['image'] = True
|
||||
return kwargs
|
||||
|
||||
def edit(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue