Support » Plugin: Markup by Attribute for WooCommerce » Different markup for different sizes

  • roy89

    (@roy89)


    Hi,

    First of all I want to thank you for the great plugin. It’s quick, easy to use and a great addition to WordPress/Woocommerce.

    For the store I am working on, I really need one particular function. Every product in this store has 3 variable attributes; Size, Type and Ingredient. Every product exists in 5 different sizes. The price of the ingredients, depends on the size of the product. Size 1, 2 & 3 should get +$5 for example and size 4 & 5 should get +$7.50.

    Can you please let me know if this is possible or if this can be created?

    I hope to get an answer from you soon. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark Tomlinson

    (@marktomlinson)

    The way I understand the question, you want to change the value of one attribute (ingredient) based on another attribute (size). Unfortunately, no, Markup by Attribute only adds or subtracts from the base price of the product.

    There are a couple of different ways to accomplish something like that, though. (I’m assuming that one can not select multiple ‘ingredients’.) Depending on your particular products, you might think of these as workarounds, but let me suggest anyway.

    The first would be to simply add a markup by size that covers the cost of more ingredients regardless of what those ingredients are. However, if there is a large difference in the price of each ingredient, this would vastly change your margin depending on which ingredient is chosen.

    Another approach would be to not have ‘ingredient’ as an attribute but as a different product. While that will certainly increase the number of products and maybe change the organization of your site, it means you can use a percentage markup for size. The ‘ingredient’ cost is worked into the base price, and then four of the five ‘sizes’ will adjust the price up or down accordingly.

    I hope this helps.

    roy89

    (@roy89)

    Hi Mark,

    That’s exactly how I want it yes. It’s a pity that it’s not possible with this plugin since it’s vital for our business. The small price differences in the ingredients actually is important for our customers and based on that they make their choices.

    Thank you for bringing up the other two ideas, I don’t however think that it’ll work for us.

    Is it possible for you to tell me if the function that I want is actually possible or if it is something which cannot be done due to WooCommerce limitations for example?

    EDIT: I actually have one other idea. If I make the ingredient attribute twice (one with prices for size 1, 2 & 3 and once for sizes 4 & 5. I can then make the variable combinations on the correct way, however will it be possible to merge them into 1 attribute for the customer so that they won’t see two ingredient attributes?

    Thanks in advance.

    • This reply was modified 4 months ago by roy89.
    • This reply was modified 4 months ago by roy89.
    Plugin Author Mark Tomlinson

    (@marktomlinson)

    I’m sure there’s a WooCommerce plugin out there that might help you, but Markup by Attribute’s design prevents it from being able to do what you want. Markup by Attribute changes the price of each product variation based on the attributes assigned to that variation. You’d probably want something that calculates the price based on the options selected at the point of sale.

    I see what you are saying with your additional suggestion. But I know of no way to merge attributes, and selecting one or the other based on the ‘size’ attribute is essentially the same as changing one attribute based on another.

    I’m not making a recommendation here, but a couple of days ago another shop owner had a similar issue and eventually found a different plugin. See https://wordpress.org/support/topic/different-prices-per-variation/.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.