This topic has 8 replies, 4 voices, and was last updated 7 years, 7 months ago ago by Max Mullins
Thank you for providing this. I enabled the show sale “percantage (which is misspelled in your admin btw) and only about half of the products show the percentage correctly.
Please advise. Thanks.
Hello,
Could you tell me what products come with incorrect percentage?
Regards
It’s on all the variable products and a couple single items products too. You can simply view them on the products page and see for yourself.
Link in PM.
Thank you!
Hello,
Variable products don’t have percentage sale label because different variations could have different prices with different discounts and there is no only one percentage discount for it to display in label.
Don’t see the problem with simple products. Could you provide me link to concrete products which have incorrect percentage?
Regards
Hi Olga,
Yes, looks like it’s only the variable products. On September 21st, at 9:21 am, post #140272 here: http://screencast.com/t/ufD0MTbnmvf You told us that the variable products would be included and the best/highest percentage would populate in this case. I understand variable products have different prices with different discounts but it would be a serious disadvantage to anyone selling variable products not to (at least) show the best/lowest percentage. When people are shopping, it now looks like only my single product items are on sale but not my variable products (even though they’re the same discount).
The link here has that php code to do this:
http://www.wpstuffs.com/display-product-discountoffer-percentage-bubble-woocommerce
I’m no PHP expert (by any means) but it seems like there’s not much difference to include this into the sale-flash.php file: http://screencast.com/t/popEYoWwZKl
with some variation to this:
http://screencast.com/t/veXg742VIda
Please advise. Thank you.
Hello,
We did not add the code for vaiable products because it slows down theme (to many quesries) when user has many variable products with different prices and different sales. In next udate we’ll just add the simple Sale lable for the variable products.
If you want to show percantage discount for variable products you may use the code from the example that you provided in child theme.
Regards
Ok so then thers no other way but to add the sale option, wich i did not want i prefered the % discount option…
Is there anyway i can at least change the word SALE to something in my Language, like PROMO!
Thanks
Daniel
Hello, @filiphdan
Please open and edit/wpcontent/themes/xstore/framework/shortcodes/products.php:311. Than save it to the child theme saving path structure (child theme/framework/shortcodes/prouct.php)
Regards,
Max Mullins
Tagged: bubble, discounts, percentage sale, promotion, savings, woocommerce, wordpress themes
You must be logged in to reply to this topic.Log in/Sign up