osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Choice of Free Gifts Module

This is a discussion on Choice of Free Gifts Module within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; USE THIS. ================================ Database Modifications: Add Configuration Group: INSERT INTO `configuration_group` VALUES ('', 'Free Gift', 'Free Gift Configuration', '17', '1'); ...



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 11-02-2007, 08:25 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,673
Thanks: 139
Thanked 606 Times in 519 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 Choice of Free Gifts Module

USE THIS.

================================

Database Modifications:

Add Configuration Group:

INSERT INTO `configuration_group` VALUES ('', 'Free Gift', 'Free Gift Configuration', '17', '1');

Please get the configuration_id that the db has generated, as it will be required for the next step! AND CHECK THE LAST configuration_id IN configuration AND add in LAST1 and LAST2 below.
example your last number is 143, you add in 144 and 145.

Add Configuration Items:

Please replace 'ID' with the id generated from stage 1


INSERT INTO `configuration` VALUES ('LAST1', 'Minimum Spend', 'FREE_GIFT_MINIMUM_SPEND', '30.00', 'Minimum Spend to Qualify For The Free Gift', '16', '1', '2007-08-08 15:24:50', '2007-08-07 19:16:00', null, null);

INSERT INTO `configuration` VALUES ('LAST2', 'Free Gift Category', 'FREE_GIFT_CATEGORY', '96', 'The category that contains all of the potentially free items', '16', '2', '2007-08-11 11:02:05', '2007-08-07 19:16:00', 'tep_cfg_get_cat_name', 'tep_cfg_pull_down_cat_list(');


Add Free Gift Orders Table

CREATE TABLE `orders_freegift` (
`orders_freegift_id` int(11) NOT NULL auto_increment,
`orders_id` int(11) default NULL,
`products_id` int(11) default NULL,
`products_model` varchar(12) default NULL,
`products_name` varchar(64) default NULL,
PRIMARY KEY (`orders_freegift_id`)
) TYPE=MyISAM;




Database Modifications Complete

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
Choice of Free Gifts Module michael_s New osCommerce Contributions 0 08-11-2007 04:25 AM
How dio I disable Affiliates and Gifts Coupons ozstar osCMax v2 Installation issues 1 05-04-2007 01:36 AM
chance for free shipping module michael_s New osCommerce Contributions 0 04-01-2007 07:00 PM
Free Of Charge Payment Module michael_s New osCommerce Contributions 0 03-08-2007 10:00 AM
Gifts module josemanuel osCMax v2 Customization/Mods 0 11-22-2006 07:39 PM


All times are GMT -8. The time now is 01:57 PM.


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