Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 76
  1. #31
    Join Date
    Nov 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Increase price on all products universally?

    Ajeh, Thanks for teaching this simple price-change strings! Very helpful!

    I have now learned how to make an all over price change:
    Code:
    UPDATE products SET products_price = products_price * 1.35;
    How to make changes by master category id:
    Code:
    UPDATE products SET products_price = products_price * 1.35 WHERE master_categories_id = XX;
    And how to change the price of attribute priced items:
    Code:
    UPDATE products_attributes SET options_values_price = options_values_price * 1.35;
    The last one affect all attribute priced items.
    Is there a nice way to make this happen to only a attribute group?
    Say by group name?

    Thanks for all your nice and patient answers in this community!
    /Jan

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

    Default Re: Increase price on all products universally?

    Can you define what you mean by an attribute group?
    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. #33
    Join Date
    Nov 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Increase price on all products universally?

    Sorry.
    I think the term is "option group" in the English admin.
    I give all attributes a name, and that name is then sorted into "option groups".
    (Overview found under the fourth button in admin-products-dropdown.)

    I'm thinking, if I an attribute name is specific to what item they lay under. Then It would be possible to update the price for only that "attribute group"?...

    Looks like the ID nr. they are given in "option group" sorting is NOT unique, but their name is!..

    Or said in another way.
    How do I change a single item price, when that is a bunch of attribute priced items without doing this one by one?

    I have read something about copying, but I don't understand that one...

    Hope this make any sense...

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

    Default Re: Increase price on all products universally?

    As a more real life example ...

    Are you trying to change the Price on all
    Option Name: Color

    Or, Are you trying to change the Price on all
    Option Name: Color
    Option Value Red
    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!

  5. #35
    Join Date
    Nov 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Increase price on all products universally?

    In your example that would be
    Option Name: Color

    That is in my admin-translation called "Variantgroup"...

    Actually, what I am aiming at, is to change all variables for a single products ID.

    Here is the actual example in my shop.

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

    Default Re: Increase price on all products universally?

    So what you really want to do is change all the Attribute Prices for:
    products_id 186
    options_id 22

    and you want to increase all of the:
    options_values_price

    by an amount or a percentage?
    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!

  7. #37
    Join Date
    Nov 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Increase price on all products universally?

    Correct!

    I guess the only option would be percentage, as the price is different for different attributes!?

    Or am I wrong here?
    Thinking of it, I might have read somewhere of an addon?...
    -To be able to correct price to amounts without decimals, and even to an amount of ex. 199 instead of 200 would be awesome!

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

    Default Re: Increase price on all products universally?

    Change all options_id 22 Option Values to $3.50 for products_id 186 ...
    Code:
    UPDATE products_attributes SET options_values_price = 3.50 WHERE products_id = 186 and options_id = 22;
    Change all options_id 22 Option Values to current price plus $1.00 for products_id 186 ...
    Code:
    UPDATE products_attributes SET options_values_price = options_values_price + 1.00 WHERE products_id = 186 and options_id = 22;
    Change all options_id 22 Options Values to current price plus 10% for products_id 186 ...
    Code:
    UPDATE products_attributes SET options_values_price = options_values_price * 1.10 WHERE products_id = 186 and options_id = 22;
    NOTE: be sure to backup your database before attempting any of these ...
    Last edited by Ajeh; 18 Jan 2011 at 05:44 PM. Reason: Fix code
    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!

  9. #39
    Join Date
    Nov 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Increase price on all products universally?

    Fantastic Ajeh - Oba-San

    I'll try this out!
    Sorry you had to drag it out of me...

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

    Default Re: Increase price on all products universally?

    Not a problem ... let us know how this ends up working for you ...
    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!

 

 
Page 4 of 8 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. v139h How to add % to price in all my products?
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Sep 2013, 09:18 PM
  2. v138a Bulk update price attributes to reflect global % price increase
    By alexjoverton in forum General Questions
    Replies: 0
    Last Post: 28 Jan 2013, 04:37 PM
  3. Set all products to same price
    By ian_m in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Nov 2009, 12:23 AM
  4. All my products are half price
    By paddy100 in forum Customization from the Admin
    Replies: 3
    Last Post: 22 Apr 2009, 07:18 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