nevermind I found it :)
nevermind I found it :)
Do not forget to change the 6 and 12 to your 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!
This does not seem to be working properly. I have changed the code as provided on the page located @
catalog / includes / modules / shipping / freeoptions . php
Is this the correct location?
It is still showing the "Free Shipping" option at checkout but is calculating the shipping below where the shipment type is selected.
ugh i feel stupid! change the product id #
DISCO!!! Works perfectly. If in the if future I need to add an additional product would I just add those ID# into the string??
Code://bof: reduce price for products_id 70 and 22 and ## // disabled if nothing validates for total, weight or item if ($this->enabled) { global $cart; $products = $_SESSION['cart']->get_products(); //echo '<pre>'; echo var_dump($products); echo '</pre>' . '<br><br>'; $reduce_price = 0; for ($i=0, $n=sizeof($products); $i<$n; $i++) { //echo 'Products ID: ' . $products[$i]['id'] . ' Price: ' . $products[$i]['final_price'] * $products[$i]['quantity'] . ' name: ' . $products[$i]['name'] . ' categories_id: ' . $products[$i]['category'] . ' categories_name: ' . zen_get_categories_name($products[$i]['category']) . '<br>'; if ($products[$i]['id'] == 70 || $products[$i]['id'] == 22 || $products[$i]['id'] == ##) { $reduce_price += ($products[$i]['final_price'] * $products[$i]['quantity']); }
Last edited by kstew923; 6 Mar 2012 at 09:34 PM. Reason: typo
That is correct ...
Thanks for the update that this is working for you ...![]()
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!