- No products in the cart.
HOME › WordPress Support › Aziza WordPress theme › Bugs?
This topic contains 7 replies, has 3 voices, and was last updated by
John Ola 3 months ago.
-
AuthorPosts
-
21/10/2013 at 1:00 AM #12941
Hi, I am getting some bugs after installation. Initially, I thought it was my installation, so I wiped everything clean - deleted all the databases and started with a fresh WP install, but it was the same result.
#1.
Warning: Division by zero in /home/rumbaskc/…./woocommerce/content-product.php on line 33Warning: Division by zero in /home/rumbaskc/…./woocommerce/content-product.php on line 35
I guess this bug is the reason my “SHOP” page is not displaying properly as well.
*I don’t want to put all my details on this public forum. If you need my URL, kindly send me a private email and I will send all the access details you may need.
#2.
I also discovered that I have two pages of woocommerce - for example - “Cart” & “Cart-2″, “Shop” & “Shop-2″, etc. Why is this, please?Thanks
21/10/2013 at 9:08 AM #12942Hi John,
#1
I’ve seen this question on one of our other themes’ forums. I had had a chat with one of our developers about it, please allow me to copy what he told me from the previous post:
____________
I have just had a little chat with our developer about your other topic you’ve posted and also brought up this one.
The issues are most likely caused by your woocommerce settings and options not being properly set
“the warning ” Warning: Division by zero in /home/content/25/11656025/html/wp-content/themes/mikmag/woocommerce/content-product.php on line 39″
will always appear if they will not go set the woocommerce settings and options”
Then the other error
“Warning: Division by zero in /home/content/25/11656025/html/wp-content/themes/mikmag/woocommerce/content-product.php on line 37
- usually caused by the “Column and Product Count” “
You can set the column and product counts in the woocommerce settings (woocommerce -> settings -> pages and then scroll to the bottom)
________________
#2
I must say this sounds like it would be more of a woocommerce quirk than a theme thing. As if it has installed double or twice. Have you had the plugin uninstalled and then re-installed or anything like that? Or did this happen straight after you first installed the plugin?
With kind regards,
Kevin
21/10/2013 at 12:38 PM #12945#1. Yes, after going through each of the Woocommerce settings and SAVING them, the bugs were fixed. I am a bit surprised at that because I went through the settings previously and saved the “General” part only, so I wasn’t expecting any issue. Thanks
#2. Yes, it was just one install from the suggested plugins.
Question: Would deletion of the ones with “-2″ take care of the problem?#3. I am not getting the same large image as in the demo product page, are there specific parameters for the main image?
21/10/2013 at 2:26 PM #12946Hi John and Kevin,
I have experienced the same. When you first install woocommerce you need to setup the settings and the column and product count. After that all is fine.
greetz Mike
21/10/2013 at 2:50 PM #12947#2 Yep just delete the 2 ones, you have installed the pages twice thats all.
#3 You need to set the image sizes, go to woocommerce settings / catalog / image options at the bottom. I have used 1140 px x 550px.
after you have set the sizes, you need to regenerate the images otherwise you will see no difference. You need to install a plugin regenerate images.
Mike
21/10/2013 at 3:12 PM #12948Hi Mike,
Thanks for the response, I have been able to sort out all issues I was having.
Yes, making those changes in the Woocommerce settings will not show any difference without regenerating the images.Thanks so much for all your responses.
Now I can start using my creativity to see what difference I can make with the theme. This is such a brilliantly designed theme!
21/10/2013 at 4:03 PM #12949Please what is setting for “Related Images”? What are the dimensions for the settings, my current “Related Images” are not sharp, they look overstretched.
21/10/2013 at 4:05 PM #12950I tried 300 X 300 and regenerated the images and it worked!
Thanks.
-
AuthorPosts
You must be logged in to reply to this topic.


