Closed mcn1970 closed 4 years ago
I'm not entirely sure what you are asking. Markup by Attribute only adds (or subtracts) a markup to product variations based on the attribute options chosen. See the 'Markup (or markdown)' field at the bottom of the attribute pages. There are other plugins that provide more complex, conditional calculations which may be more suitable for your purposes.
Does that answer your question?
check attachment. Markup calculation section doesnt appear for me in settings area on woocommerce/products/markup so I cannot use sale price for markup what I have is below
Oh, crap. No wonder I was confused. That was a feature that was built in, then added as an option, then removed completely. I removed it from the written instructions, but failed to update the image of the settings page.
The problem was that this setting had a tendency to create confusion with your customers since the drop-down box would say that we added or subtracted an amount calculated on the regular price, but the sale price would add or subtract a smaller markup. For instance, take a $25.00 item on sale for $15.00 with a 10% discount for yellow. The dropdown box will say “Yellow (-$2.50)” and the description will say “Subtract $2.50 for Yellow”. But we will only subtract $1.50 (10% of $15.00). People notice these things.
Of course, I could make it rewrite the dropdown box and description when the sale ends. But then Markup by Attribute would have to parse through all the variations and rewrite the dropdown boxes and descriptions, which causes system timeouts in my testing.
So, for now anyway, it can only calculate a percentage markup based on the regular price. Sorry about that. I will continue to work toward bringing this feature back.
now I understand. but I have another issues which may be related with this plugin. Please check https://www.rochiiceremonie.ro/index.php/product/rochie-de-ceremonie-accoleia/
If you choose marime 46 (in english is size) you will get the page as in screenshoot. I noticed that prices rendered by the plugin are 1.055 lei 955 lei but they have different size and format than standard woocommerce fonts of the theme. Looking at the page source I couldnt find any explanation.
Does you plugin somehow modify theme's CSS?
No, I don't change any CSS.
I did an inspection of the price information on your page and found that your theme, OceanWP, changes the <del>...</del>
and <ins>...</ins>
tags that WooCommerce brackets around the prices. It appears to set the font-size for <del>
to 25px and the font-size for <ins>
to 14px. I uninstalled my plugin from my testing site, installed OceanWP theme, and recreated the problem exactly.
Since OceanWP seems to be a very comprehensive theme with a lot of flexibility, you may want to see if there is a place you can adjust those font sizes.
wordpress 5.3.2 + woocomerce 5.9
on woocommerce/settings/product there are no options for markup calculations