Jump to content

Remove button does not display in cart block when product has text/image customize option


Recommended Posts

Hi, 

 

when some product have text/image customize option and this product is customized and saved and added to cart than "Remove" button does not display in cart block.

 

It is ussual behavior of system or bug? It is possible to remove such as customized product from cart?

 

PrestaShop 1.6.0.9

Link to comment
Share on other sites

What I found in blockcart.tpl is 

 

 

<span class="remove_link">
{if !isset($customizedDatas.$productId.$productAttributeId) && (!isset($product.is_gift) || !$product.is_gift)}
<a class="ajax_cart_block_remove_link" href="{$link->getPageLink('cart', true, NULL, 'delete=1&id_product={$product.id_product}&ipa={$product.id_product_attribute}&id_address_delivery={$product.id_address_delivery}&token={$static_token}', true)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='remove this product from my cart' mod='blockcart'}"> </a>
{/if}
</span>
 
So it is really basic Presta behavior that remove button/link is active only when product IS NOT customized type. 
 
hmm...
Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...