Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to REMOVE CartItem ?


21andy

Recommended Posts

sorry, i'm not good at english.

now , i don't know how to do this modified

 

i hope to CLICK A LINK to Remove CartItem , not click checkbox and click update

 

who can help me ?

Link to comment
Share on other sites

i hope to CLICK A LINK to Remove Cart Item , not click checkbox and click update

 

in /shopping_cart.php

'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id']));

 

i want to let it type like this

<a href="action?????">del</a>

 

who can help me finish this code ?

thank u very much!!!

Link to comment
Share on other sites

i found this code in "MyWishlist"

flow code , can remove ITEM in WISHLIST

 

<a href="<?php echo tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=remove_wishlist&pid=' . $products[$i]['id'], 'NONSSL'); ?>"><?php echo BOX_TEXT_DELETE; ?></a>

 

then, SHOPPING CART how to do ???

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...