I had the easy part ... breaking stuff ...![]()
I had the easy part ... breaking stuff ...![]()
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!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Yes ... it is ...![]()
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!
Houston ... we have a problem ...
If a Product is a Gift Certificate and Priced by Attributes it is being treated like a download due to the setting:
Virtual Products are not Downloads ... Downloads are only Downloads if there is a filename on the Attribute ...Code:if (zen_get_products_virtual($products_id)) return true;
Is there another case where a Download would be a Virtual Product that I am forgetting?![]()
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!
Ajeh, thanks for the continued testing! The correction for that boo-boo is simple, just comment out the virtual-product check in the ldProductIsDownload function of /includes/extra_cart_actions/limit_downloads.php:
I'll get this packaged up (again ...)Code:function ldProductIsDownload ($products_id, $options_id, $options_value_id) { global $db; //-v1.1.2d if (zen_get_products_virtual($products_id)) return true; $sql = "SELECT count(*) as count FROM " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " pad, " . TABLE_PRODUCTS_ATTRIBUTES . " pa WHERE pa.products_id = " . (int)$products_id . " AND pa.options_id = " . (int)$options_id . " AND pa.options_values_id = " . (int)$options_value_id . " AND pa.products_attributes_id = pad.products_attributes_id"; $sql_result = $db->Execute($sql); return ($sql_result->fields['count'] > 0) ? true : false; }
That was pretty much my conclusions as well ... and appeared to work on a couple tests last night ...
I cannot think of anything that would be a Download and marked as a Virtual Product or any Virtual Product where you would want to alter the quantities ...
Thanks for staying on top of things ...
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!
This plugin is also safe to use on Zen Carts v1.5.2 and v1.5.3.
I've recently (ZC 1.5.3) run across the need to mark a downloadable product that includes an attribute as virtual in order to bypass the request for a shipping address while processing the payment.
Downloadables not marked as virtual that result in asking for shipping created to demonstrate this issue:
http://mc12345678.webatu.com/index.p...&products_id=8
http://mc12345678.webatu.com/index.p...&products_id=9
Same downloadables marked as virtual that do not display shipping options during checkout:
http://mc12345678.webatu.com/index.p...&products_id=3
http://mc12345678.webatu.com/index.p...&products_id=1
The limit quantities for download modification described here has not been applied (yet), but did see that the above question was not answered in this thread..
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...