ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
The fix should be to edit the file:
/includes/init_includes/init_cart_handler.php
and add the code in RED:
Code:} else { $chk_handler = zen_get_info_page(isset($_GET['products_id']) ? $_GET['products_id'] : 0); $goto = $_GET['main_page']; if ($_GET['action'] == 'buy_now') {This has been fixed in v1.5.2 and v1.6 ...Code:$parameters = array('action', 'products_id'); } } elseif ($_GET['main_page'] == $chk_handler) { $parameters = array('action', 'pid', 'main_page'); } else { $parameters = array('action', 'pid', 'main_page', 'products_id'); }
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thank you. Interesting thing is that I had gone to that area of the file, and tried a different fix of my own, but guess I was in the right area, just wrong code. Ie. My attempt did not work. I will try this as soon as I get to a computer and report back (for those that might take an interest). I doubt there will be any further corrections needed to address this issue. :)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Looks good, Ajeh. That corrects the issue for all products that are not of type product_info!
Nice catch, mc12345678!
Thanks for the update that this is working for you lat9 ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Duplicate of: http://www.zen-cart.com/showthread.p...roduct_general
Code changes: https://github.com/zencart/zencart/c...571c20df14977e
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.