Jump to content

[SOLVED] Delete product from cart not working


Recommended Posts

Unsure what to do next...

Once a product is added to the cart, I am unable to delete the product or change the quantities. When I click the icons, it redirects to the home page. Any suggestions would be appreciated...here are the facts.

I am using PS version 1.5.4.1 with the "black" theme downloaded from the add on page. It is not live, so here is a link to the page.

http://www.etnprotect.com/main

Link to comment
Share on other sites

Unsure what to do next...

 

Once a product is added to the cart, I am unable to delete the product or change the quantities. When I click the icons, it redirects to the home page. Any suggestions would be appreciated...here are the facts.

 

I am using PS version 1.5.4.1 with the "black" theme downloaded from the add on page. It is not live, so here is a link to the page.

 

http://www.etnprotect.com/main

 

I had that issue too, when I updated 1.5.3.1 to 1.5.4.1, I think prestashop updates are really buggy, so I use the auto update module and restore it to 1.5.3.1

Link to comment
Share on other sites

  • 4 months later...

Hello Vekia thank you for your interest. I actually fixed the problem, by using the code from shopping-cart.tpl in my blockcart.tpl.

 

I found another post, you participated in :-)

 

Old url (blockcart.tpl):

<a rel="nofollow" class="ajax_cart_block_remove_link" href="{$link->getPageLink('cart', true, NULL, "delete&id_product={$product.id_product}&ipa={$product.id_product_attribute}&id_address_delivery={$product.id_address_delivery}&token={$static_token}", true)}" title="{l s='remove this product from my cart' mod='blockcart'}" > </a>

 

New url (from shopping-cart.tpl):

<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&id_address_delivery={$product.id_address_delivery}&token={$token_cart}")}">{l s='Delete'}</a>

 

 

Topic can be found here: http://www.prestashop.com/forums/topic/238175-cant-delete-products-in-block-cart/

Link to comment
Share on other sites

×
×
  • Create New...