Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 'buy_now_xsell' : if (isset($_GET['products_id'])) {
- if (tep_has_product_attributes($_GET['products_id'])) {
- tep_redirect(tep_href_link('product_info.php', 'products_id=' . $_GET['products_id']));
- } else {
- $cart->add_cart($_GET['products_id'], $cart->get_quantity($_GET['products_id'])+1);
- $messageStack->add_session('product_action', sprintf(PRODUCT_ADDED, tep_get_products_name((int)$_GET['products_id'])), 'success');
- }
- }
- tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters)));
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement