-
Author
Tagged: woocommerce
-
December 4, 2014 at 11:38 #37627karimunParticipant
The error
Warning: Division by zero in /htdocs/public/www/wp/wp-content/themes/kleo/lib/plugin-woocommerce/config.php on line 459
shows up for a variable product if sale prize is set on one variation.
Please see the attachment and propose a fix.
Attachments:
You must be logged in to view attached files.December 13, 2014 at 00:14 #38905AbeKeymasterHi, sorry for the late reply. I am doing some checks and come back with a fix.
ThanksHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 13, 2014 at 00:54 #38920AbeKeymasterUntil next version please replace this file contents with the one from the file attached wp-content/themes/kleo/lib/plugin-woocommerce/config.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files.January 6, 2015 at 10:19 #41083mattylbParticipantUh Oh – While this did fix the discount calculation for variable products, it either broke or didn’t fix the same issue that occurs with external/affiliate products that are on sale. 😉
screenshot is attached.
Attachments:
You must be logged in to view attached files.January 8, 2015 at 03:24 #41246AbeKeymasterHi, so @mattylb what kind of settings does the product have?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 11, 2015 at 09:13 #41673mattylbParticipantbtw, I had to move the sale price to the reg price field because I didn’t want a blank % sign showing but I’ll change it back to a sale item if you need to see the example on my site. Please let me know if you’re able to duplicate this on your end so I can change it back until it’s fixed. Thanks!
January 15, 2015 at 00:04 #42095AbeKeymasterfixed. Just replace this file content with the content from the file attached wp-content/themes/kleo/lib/plugin-woocommerce/config.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files. -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.