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
    64,669
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  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
    64,669
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Attributes HOW-TO
    By skya in forum Setting Up Categories, Products, Attributes
    Replies: 448
    Last Post: 10 Jul 2006, 08:06 AM
  2. Same Attributes - Simpler Way?
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2006, 08:47 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
  •