Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    347
    Plugin Contributions
    0

    Default How do I update all products to 'Product Priced by Attributes'

    Hello all!

    I have recently uploaded 900 new products to my web site.
    They are all priced by attributes. Does anyone know how to change "Product is Priced by Attributes" to yes?

    I would like to avoid having to do it one product at a time.

    Any help is appreciated.

    Thank you!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I update all products to 'Product Priced by Attributes'

    Provided you haven't added an products since, you could back up your database, then run something like the following from the Admin > Tools > Install SQL Patches screen

    UPDATE products SET products_priced_by_attribute = 1 WHERE products_date_added >= "2009-07-25";
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    347
    Plugin Contributions
    0

    Default Re: How do I update all products to 'Product Priced by Attributes'

    Quote Originally Posted by kuroi View Post
    Provided you haven't added an products since, you could back up your database, then run something like the following from the Admin > Tools > Install SQL Patches screen

    UPDATE products SET products_priced_by_attribute = 1 WHERE products_date_added >= "2009-07-25";
    That worked perfectly!
    Thank you.

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

    Default Re: How do I update all products to 'Product Priced by Attributes'

    NOTE: when manually altering anything that changes the Price of a Product, you will want to also run from the Tools ... Store Manager ...
    Update ALL Products Price Sorter
    to be able to sort by displayed prices: Update
    This will allow sorting by Price, which is actually using the products_price_sorter for sorting prices, to work properly ...
    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!]
    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!

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I update all products to 'Product Priced by Attributes'

    Excellent point. Thanks for the clarification.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v150 How to create a sale/special on products priced by attributes
    By sbaker6612 in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 21 Nov 2015, 07:59 AM
  2. Update Sorts on all my Product, and on All Attributes?
    By vilvas in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 12 Sep 2012, 12:33 AM
  3. products Priced by attributes show all no drop down
    By vantecsigns in forum General Questions
    Replies: 0
    Last Post: 2 Mar 2012, 06:20 AM
  4. Product Priced by Attributes - how to set all products to "no"?
    By elegantgowns in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 14 Feb 2010, 05:56 AM
  5. Quick update of products priced by attributes?
    By this side up in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 7 May 2007, 09:07 AM

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