jhsands Posted October 12, 2007 Share Posted October 12, 2007 I have searched for the answer... because someone sent it to me a long time ago... but here is what I need... when I enter an item and do not uncheck "wholesale" price it enters a 0 into the database, and therefore shows 0 on the webpage. What is teh script to remove all products with 0 as the price in the SPPC? Also, what do I h4x0r to make the wholesale checkmark unchecked as default? THX JHS BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
jhsands Posted October 12, 2007 Author Share Posted October 12, 2007 This is what the sql code gave me when I used phpMYadmin to delete the customers_group_price = 0.0000 DELETE FROM `products_groups` WHERE `products_groups`.`customers_group_id` = 0 AND `products_groups`.`products_id` = 574 LIMIT 1; DELETE FROM `products_groups` WHERE `products_groups`.`customers_group_id` = 0 AND `products_groups`.`products_id` = 555 LIMIT 1; DELETE FROM `products_groups` WHERE `products_groups`.`customers_group_id` = 0 AND `products_groups`.`products_id` = 554 LIMIT 1; 14 more lines... BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.