Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Attributes Price Markup

    Is there a way to add markup to product prices including product attribute prices for v1.5?

    I am aware of the Global Price Markup Mod but it doesn't work with v1.5, or at least I couldn't get it to install correctly as it appears that the DB script has a fault during installation.

    I need to add 20% markup to all product attribute prices and if it has to be done in the Database that is fine.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Attributes Price Markup

    Don't find Global Price Markup but, have you tried taking a look at Quick Updates?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Attributes Price Markup

    I had a look at that and have installed it but it doesn't appear to put a percentage on attributes prices, only the product prices.##All my products show zero values in quick updates due to them being priced by attributes. So I need another way.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

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

    Default Re: Attributes Price Markup

    To raise the Attribute Price of ALL Attributes you could use:
    Code:
    UPDATE products_attributes SET options_values_price = options_values_price * 1.20;
    This will raise all Attribute Prices by 20% ...

    NOTE: Backup your database before running this ...

    NOTE: You can run this in your Zen Cart Admin in the Tools ... Install SQL Patches ...
    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
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Attributes Price Markup

    Quote Originally Posted by Ajeh View Post
    To raise the Attribute Price of ALL Attributes you could use:
    Code:
    UPDATE products_attributes SET options_values_price = options_values_price * 1.20;
    This will raise all Attribute Prices by 20% ...

    NOTE: Backup your database before running this ...

    NOTE: You can run this in your Zen Cart Admin in the Tools ... Install SQL Patches ...

    Perfect, thats exactly what I'm looking for. Out of interest how would I do this per category?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

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

    Default Re: Attributes Price Markup

    That gets a bit more complicate ...

    But you could try, to update the Attribute Prices ONLY in master_categories_id 67 to use:
    Code:
    UPDATE products_attributes as pa 
    LEFT JOIN products as p ON  pa.products_id = p.products_id
    LEFT JOIN products_options_values as pov ON pov.products_options_values_id = pa.options_values_id
    SET pa.options_values_price = pa.options_values_price * 1.20
    WHERE p.master_categories_id = 67;
    NOTE: Backup your database before trying this ...
    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!

  7. #7
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Attributes Price Markup

    Quote Originally Posted by Ajeh View Post
    That gets a bit more complicate ...

    But you could try, to update the Attribute Prices ONLY in master_categories_id 67 to use:
    Code:
    UPDATE products_attributes as pa 
    LEFT JOIN products as p ON  pa.products_id = p.products_id
    LEFT JOIN products_options_values as pov ON pov.products_options_values_id = pa.options_values_id
    SET pa.options_values_price = pa.options_values_price * 1.20
    WHERE p.master_categories_id = 67;
    NOTE: Backup your database before trying this ...
    Ok thanks Linda will give this a go.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  8. #8
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Attributes Price Markup

    Linda what would I do if I wanted to add £1.00 to all attributes and then markup by 20%? or the other way around?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

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

    Default Re: Attributes Price Markup

    Think that through for a minute ...

    Do you want to:
    1 add $1.00 then raise by 20%

    Or ...

    Do you want to:
    raise by 20% then add a $1.00
    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!

  10. #10
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Attributes Price Markup

    sorry it would be raise by £1.00 then markup by 20%
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Price markup / down?
    By HBELLC in forum General Questions
    Replies: 1
    Last Post: 11 Jan 2012, 04:37 PM
  2. Price-Range Percentage Profit Markup [SEMI-WORKING] Need Help!
    By AndyVI in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 17 Mar 2011, 02:02 PM
  3. Mass price markup?
    By dom_prospot in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 2 Aug 2007, 06:19 AM
  4. Global Price Markup and Handling Fee Mod
    By Farrukh in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 24 Aug 2006, 01:52 PM

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