norwegianfoodstore Posted August 23, 2018 Share Posted August 23, 2018 (edited) Hi I am totally new to PrestaShop. I have imported my exiting Woocommerce online store into PrestaShop. The problem i am having is that there is a red box in the upper right corner of the product image in the products listings. How can i remove this? See attached image. Prestashop 1.7.4.2 Eirik Edited August 23, 2018 by norwegianfoodstore (see edit history) Link to comment Share on other sites More sharing options...
ican Posted August 24, 2018 Share Posted August 24, 2018 Can you please share your url here. So that i can guide you. Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 24, 2018 Author Share Posted August 24, 2018 (edited) 1 hour ago, ican said: Can you please share your url here. So that i can guide you. http://www.norwegianfoodstore.com/shop/ Thanks Eirik Edited August 24, 2018 by norwegianfoodstore (see edit history) Link to comment Share on other sites More sharing options...
ican Posted August 24, 2018 Share Posted August 24, 2018 \templates\catalog\_partials\miniatures\product.tpl Comment out below block {block name='product_flags'} <ul class="product-flags"> {foreach from=$product.flags item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 24, 2018 Author Share Posted August 24, 2018 28 minutes ago, ican said: \templates\catalog\_partials\miniatures\product.tpl Comment out below block {block name='product_flags'} <ul class="product-flags"> {foreach from=$product.flags item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} Hi I removed this but didn't work: {block name='page_content'} {block name='product_flags'} <ul class="product-flags"> {* {if $product.has_discount} {if $product.discount_type === 'percentage'} <li class="product-flag discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</li> {else} <li class="product-flag discount-percentage"> {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]} </li> {/if} {/if} *} {foreach from=$product.flags|@array_reverse item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} Any suggestions? Thanks Eirik Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 24, 2018 Share Posted August 24, 2018 Ideally, it should work. Have you cleared the cache after these changes? Link to comment Share on other sites More sharing options...
ican Posted August 24, 2018 Share Posted August 24, 2018 2 hours ago, norwegianfoodstore said: Hi I removed this but didn't work: {block name='page_content'} {block name='product_flags'} <ul class="product-flags"> {* {if $product.has_discount} {if $product.discount_type === 'percentage'} <li class="product-flag discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</li> {else} <li class="product-flag discount-percentage"> {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]} </li> {/if} {/if} *} {foreach from=$product.flags|@array_reverse item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} Any suggestions? Thanks Eirik have you removed this? {block name='product_flags'} <ul class="product-flags"> {* {if $product.has_discount} {if $product.discount_type === 'percentage'} <li class="product-flag discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</li> {else} <li class="product-flag discount-percentage"> {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]} </li> {/if} {/if} *} {foreach from=$product.flags|@array_reverse item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 24, 2018 Author Share Posted August 24, 2018 4 minutes ago, ican said: have you removed this? {block name='product_flags'} <ul class="product-flags"> {* {if $product.has_discount} {if $product.discount_type === 'percentage'} <li class="product-flag discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</li> {else} <li class="product-flag discount-percentage"> {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]} </li> {/if} {/if} *} {foreach from=$product.flags|@array_reverse item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} Yes Nothing changed Eirik Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 24, 2018 Author Share Posted August 24, 2018 8 minutes ago, Knowband Plugins said: Ideally, it should work. Have you cleared the cache after these changes? Yes its cleared Eirik Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 24, 2018 Share Posted August 24, 2018 Your theme is AngarTheme so confirm if you have made changes in the correct theme? Complete file path: themes/AngarTheme/templates/catalog/_partials/miniatures/product.tpl Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 24, 2018 Author Share Posted August 24, 2018 1 minute ago, Knowband Plugins said: Your theme is AngarTheme so confirm if you have made changes in the correct theme? Complete file path: themes/AngarTheme/templates/catalog/_partials/miniatures/product.tpl The folder "miniatures" doesnt exist ... everything else is correct Eirik Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 25, 2018 Author Share Posted August 25, 2018 Creator of the theme fixed it. Closed thread Eirik Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now