Thread: 10% Off Prices

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default 10% Off Prices

    Is there an sql code i can run to make al lthe products price 10% lower

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: 10% Off Prices

    Is this to change the actual price or to offer 10% off all items?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: 10% Off Prices

    change the actual price

  4. #4
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: 10% Off Prices

    quick updates can do that for you (depends on the amount of products if it really will be a quick update though).

    But if I remember well you already use quick updates?

    edit: sorry that is not an answer to your question I realize now :-)

  5. #5
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: 10% Off Prices

    Like this:
    Code:
    UPDATE `products` SET `products_price` = `products_price` * 0.9;
    ?

    Backup first!

  6. #6
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: 10% Off Prices

    Forgot to tell: you need to update the sprice sorter too, after the above.

  7. #7
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: 10% Off Prices

    ok thanks, how can i ad 10% on to the price

  8. #8
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: 10% Off Prices

    Are you serious?

    Alter the calculation part (`products_price` * 0.9) of paulm's query above to `products_price` * 1.1
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: 10% Off Prices

    Quote Originally Posted by Ryk View Post
    Are you serious?

    Alter the calculation part (`products_price` * 0.9) of paulm's query above to `products_price` * 1.1
    Actually, no. It'll work if the prices haven't been discounted that way first, but it won't put them back where they were originally.

    If the product was originally $100 and was discounted 10%, the result (100 * 0.9) is $90. If the $90 is multiplied by 1.1, it'll be $99, not $100.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  10. #10
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: 10% Off Prices

    That wasn't the question afo - it was "how can I add 10% to the price" with no mention of prior discount.

    Regardless - the principle is the same; CnTGifts needs to work out the formula to apply for whatever s/he requires to do.
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. turn off prices, based on login
    By pageblair in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Jun 2010, 05:10 PM
  2. Turn prices in 'new__products_box' off?
    By jensderknipser in forum Basic Configuration
    Replies: 15
    Last Post: 4 Nov 2009, 06:24 AM
  3. authorized/logged in to see prices wont turn off!
    By heimskr75 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 31 Oct 2008, 10:06 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