This topic contains 7 replies, has 3 voices, and was last updated by  John Ola 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12941

    John Ola
    Participant

    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 33

    Warning: 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

    #12942

    kevin(Staff)
    Key Master

    Hi 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

    #12945

    John Ola
    Participant

    #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?

    #12946

    Mike (staff)
    Key Master

    Hi 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

    #12947

    Mike (staff)
    Key Master

    #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

    #12948

    John Ola
    Participant

    Hi 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!

    #12949

    John Ola
    Participant

    Please what is setting for “Related Images”? What are the dimensions for the settings, my current “Related Images” are not sharp, they look overstretched.

    #12950

    John Ola
    Participant

    I tried 300 X 300 and regenerated the images and it worked!

    Thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.