This is a discussion on osC_GiftWrap_v1.0 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Added Logic for GiftWrap Add-On by: ggbig(maestro) from ContributionCentral http://www.contributioncentral.com ------------------------------------------------- This update was inspired by the "Gift Wrap Fee ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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...
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| osC_GiftWrap_v1.0 | michael_s | New osCommerce Contributions | 0 | 12-12-2007 09:00 AM |
| osC_GiftWrap_v1.0 | michael_s | New osCommerce Contributions | 0 | 10-24-2007 04:13 AM |
| osC_GiftWrap_v1.0 | michael_s | New osCommerce Contributions | 0 | 09-11-2007 10:00 AM |