Support » Plugin: Markup by Attribute for WooCommerce » Prices are not being adjusted

  • Resolved nicooler


    I added you plugin, really cool thing you made there!

    When you look at the extra dropdown you can see that the markup is there,
    [ Redundant like redacted ]

    yet, the price is not being adjusted.

    Thanks for help..

    Cheers Nico

    The page I need help with: [log in to see the link]

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


    Yes, I can see that. It doesn’t make sense to me. I am not able to recreate it either.

    First, let’s get the basics out of the way — did you set the variation prices after you set the markup on the attributes? Or, is it possible that you added the plugin to an existing site, set the markup on the attributes, but did not set the variation prices after that? Markup by Attribute hooks into the variation set and change price routines. So if variations with prices already exist, you have to go back and set the same price on the variations in order to calculate the new price. (I know it’s a pain when you have a lot of products, but I couldn’t make it do this automatically).

    If that’s not the issue, then can you tell me what level of WordPress you are at? Also, is it possible to send a cropped screenshot of the admin page showing one of the product variations? I’d like to see the variation price and the description fields.

    (Thanks for the compliment, by the way. But it doesn’t do you any good if we can’t make it work!)

    Hello Mark,

    I got the same issue.

    I set the variations price after set the markup on attributes. But it did not work.
    It’s also not work in cart page too.

    My wordpress is 4.9.5.

    My site is

    Please help me asap!

    Thanks & Best Regards,

    Plugin Author Mark Tomlinson


    This is puzzling.

    The only thing I can think of is that both of you are running a theme or plugin that Markup by Attribute is incompatible with. Markup by Attribute plugs into the woocommerce_bulk_edit_variations() hook, which is initiated from the drop-down list of actions on the Variations tab. It actually changes the price of each variation on the database.

    Some plugins change prices in real time and might override Markup by Attribute (I believe this is how WooCommerce Composite Products works). There are other plugins that improve the bulk editing experience by laying product variations out in a table, which might prevent WooCommerce from going through the woocommerce_bulk_edit_variations() hook.

    Are you using any other plugins that adjust the price or improve the bulk editing of variations? If you suspect that you may be, can you let me know what they are? I’d be happy to look into them if I can.

    (By the way, nice sites for both of you two! I’d be proud to be associated with you if we can get this working).

    Do you have Skype/Facebook… Mark? Please give it to me.

    I will show you my site.

    Plugin Author Mark Tomlinson


    I’ll reach out to you on Slack.

    Hi Mark,

    I have the same problem as guys. I think my theme cause problem or ?wc-ajax=get_variation but not sure.

    How can I reach you and ask for support?

    Best regards

    Hi Mark,

    Unfortunately the same problem on my site. No changes in prices after adding variations.
    I will donate you when the plugin will start to work.

    Hi guys,

    did you add one variation all with type any?
    That was an issue I had.

    Cheers Nico

    Plugin Author Mark Tomlinson


    @nicooler Yes, that will do it. It can’t calculate the price of the variation if the attributes aren’t set. My testing shows it will only affect the variation with ‘any’ and none of the others. Is that what you found?

    @masrafas and @huyngvu I’m kind of surprised that the WordPress forums don’t have a direct messaging capability. Try reaching out to me at

    Plugin Author Mark Tomlinson



    Unfortunately the same problem on my site. No changes in prices after adding variations.

    Did you set the prices before or after adding the variations? Sorry if the question seems obvious, but I can’t tell from your description of the problem.

    I set prices after adding variations. The thing is that I have so many variations and I’m really counting on it to work. How should I add the prices to have them working?

    Plugin Author Mark Tomlinson


    @beldowski I understand. That’s exactly the reason I wrote the plugin. Can you email me at so we can dig into the problem? I’ll post the resolution here after we figure out what’s going wrong.

    Plugin Author Mark Tomlinson


    I’ve been working with @beldowski (above), and I am going to mark this issue closed.

    With beldowski’s help and @nicooler’s comment above, we’ve discovered that the primary reason the plugin does not work is that a step may have been missed while implementing it.

    I suspect that the root cause is that my instructions are complex and don’t translate well. Beldowski has recommended that I may want to make video instructions, and I think that is a good idea.

    To be clear, Markup by Attribute is not complex — my instructions are. My instructions try to describe WooCommerce Global Attributes and Variable Products. Instead, I will remove most of that and focus only on using the plugin to improve readability.


    Just installed your plug in but unfortunately the price isn’t being added to the final price. Any help please.


    Plugin Author Mark Tomlinson


    This is usually caused by not using the Set regular price function on the variations tab. A common misconception is that Markup by Attribute adjusts the price when the customer selects options. The price is actually adjusted (on each variation) at the time you set the price of the product.

    Here are some usage instructions. If you are doing this, we may have to dig into it some more.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Prices are not being adjusted’ is closed to new replies.