I'm loving this script, but I'm hoping you could help me with a feature request. I'd like to offer a "Save For Later" button on the product information page, so that if you're browsing a product, you can simply click "Save For Later" right there to add it.
I copied the code from the shopping cart page and inserted the following code onto the product page:
Code:
<?php echo '<a href="' . zen_href_link('saveforlater', 'action=sfl_save_for_later&product_id=' . (int)$_GET['products_id']) . '">'?><?php echo zen_image_button(BUTTON_IMAGE_SAVE_FOR_LATER_PRODUCT, BUTTON_SAVE_FOR_LATER_ALT) . '</a>'; ?>
However, when I click on the link, it takes me to the shopping cart page but no items are added to the cart.
The link that is being invoked looks to be the same format as what you display on the shopping cart page. For example, this is what I click on from the product info page when the button is clicked:
http://www.mydomain.com/store/index....oduct_id=15334
But it doesn't add anything to the shopping cart (unless that link is invoked from the actual shopping cart page, as is the original script).
Any ideas what I would have to to in order to allow this?
(Again, this is just shaving one extra step off the process for the customers. So instead of adding a product to the shopping cart FIRST and then having to Save it for later, we are trying to just have them Save it for later directly from the product info page.)
Bookmarks