Artemis909 Posted September 22, 2014 Share Posted September 22, 2014 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 More sharing options...
Artemis909 Posted September 22, 2014 Author Share Posted September 22, 2014 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 More sharing options...
Artemis909 Posted September 22, 2014 Author Share Posted September 22, 2014 What about to use "cart_quantity_delete" button from shopping-cart.tpl ? This button delete quantity (customized product) from shopping cart in first step. Maybe this button with some modification we can use also for cart. What do you think? Link to comment Share on other sites More sharing options...
Palie Posted March 19, 2015 Share Posted March 19, 2015 Hello Artemis909 I have same problem. Could you tell me solution, please? I do not have idea How I could that fix it. Thank you so much Jeremy Link to comment Share on other sites More sharing options...
Recommended Posts