osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

osC_GiftWrap_v1.0

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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-19-2008, 07:50 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post osC_GiftWrap_v1.0

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...
__________________
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -8. The time now is 04:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design