Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2004
    Posts
    80
    Plugin Contributions
    0

    Default I don't want discounted attributes

    I have about 600 products and I use shipping as an attribute. I just realized that when I put a product on special, it discounts its attributes (including shipping). I obviously don't want that. I noticed that for every product/attribute combination, I can turn off the attribute being discounted. But how can I turn this off for all of them without having to go through several thousand attributes manually?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: I don't want discounted attributes

    You could just change the field attributes_discounted in the products_attributes if you know that you want to change all attributes ... set this to

    If you only want to change some attributes then you need to find the options_id and options_values_id associated with the attribute as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2004
    Posts
    80
    Plugin Contributions
    0

    Default Re: I don't want discounted attributes

    Yes, I would like to change them all so that attributes are never discounted. I would really appreciate if you could give me the whole command. I'm not good at any programming/code.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: I don't want discounted attributes

    To set the discount to OFF on ALL Attributes you can use the following command:

    Code:
    UPDATE products_attributes SET attributes_discounted=0;
    NOTE: BACKUP before attempting this change ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Don't want back orders, using Stock by Attribute mod and want to show inventory
    By teazerr in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Apr 2011, 03:15 AM
  2. I don't want to install a template, I just want my own header navigation bar...
    By xtina in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2009, 09:22 AM
  3. Attributes - Works fine but TMO: Don't want to display weights of item
    By eliseintaipei in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 31 Jul 2008, 03:40 PM
  4. Don't want Attributes to use Sale price
    By Derrian in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 15 Aug 2007, 02:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR