Added Logic for GiftWrap Add-On by: ggbig(maestro) from ContributionCentral
http://www.contributioncentral.com
-------------------------------------------------
This update was inspired by the "Gift Wrap Fee Per Item" by: dwsmart
What this update does is add logic to the osC_giftwrap add-on that will allow the checkout_shipping.php page to show a GiftWrap Price
based on three distinct set of rules.
First is that when/if the store owner wants to charge by the total weight
of all products in the cart you simply set the "GiftWrap by Weight" to True in the Admin/Modules/Giftwrap settings page, and this will happen.
Second is a two stage statement (given that now the "GiftWrap by Weight" is set to False) that descerns if the number of products in the
cart is 1 or greater than 1 and acts accordingly.
If there is only 1 item in the cart it charges the customer the GiftWrap Price One Time only.
If there is more than 1 item in the cart it charges the customer the GiftWrap Price for each item in the cart.
I really hope everyone likes this addition and gets alot of added use to an already very kewl contribution.
the catalog/includes/modules/giftwrap/giftwrap.php is included in the zip for easy ftp file replacement, along with the needed install doc to manually update your copy, njoy!!!
More...





LinkBack URL
About LinkBacks









Bookmarks