Idstore v3.8 error shown archive-product.php on line 68 at menu shop-2

This topic has 10 replies, 4 voices, and was last updated 9 years, 6 months ago ago by Eva Kemp

  • Avatar: longfit
    longfit
    Participant
    May 16, 2015 at 07:21

    Hi
    I have installed idstore v3.8 and demo data

    but when click menu item shop

    shown
    Parse error: syntax error, unexpected ‘}’ in C:\xampp\apps\wordpress\htdocs\wp-content\themes\idstore\woocommerce\archive-product.php on line 68

    Help !

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 16, 2015 at 07:58

    Hello,

    We need check your files. Could you please upload your site to any web host?

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: longfit
    longfit
    Participant
    May 16, 2015 at 18:49

    when i installed idstore v3.8 at live web-host shown other error message

    Fatal error: Call to a member function is_visible() on a non-object in /home/a8338096/public_html/wp-content/themes/idstore/woocommerce/content-product.php on line 32

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 18, 2015 at 10:21

    Hello,

    Please check your site now.

    Regards,
    Eva Kemp.

    Avatar: Joost
    Joost
    Participant
    May 18, 2015 at 19:30

    I had the same problem and just removed the ‘}’ on line 68 and it works now.
    My question, is this a good solution?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 18, 2015 at 19:33

    Hello @Joost,

    Yes, if you have this error Parse error: syntax error, unexpected ‘}’

    Regards,
    Robert Hall.

    Avatar: Joost
    Joost
    Participant
    May 29, 2015 at 18:26

    Hello,

    I filled the site with test content. Works great except for the shop page again.
    Now I got a blank page. I tried this link:
    https://www.8theme.com/topic/my-shop-page-under-idstore-is-blank-after-woocommece-2-3-7-update/

    but it is still showing the blank page.

    Regards,

    Joost

    Avatar: Eva
    Eva Kemp
    Support staff
    May 29, 2015 at 18:38

    Hello @Joost,

    Please reupload original file archive-product.php from your theme package to the directory wp-content\themes\idstore\woocommerce.
    Then you need edit the file wp-content\themes\idstore\woocommerce\archive-product.php on line 62, you’ll see the code <? if(isset($cat->description) && $cat->description !='' && !is_shop()) {, just add “php” at the beginning so it will be <?php if(isset($cat->description) && $cat->description !='' && !is_shop()) {.
    After that check your site.

    Regards,
    Eva Kemp.

    Avatar: Joost
    Joost
    Participant
    May 29, 2015 at 19:14

    omg.. checked it over and over again but didn’t see it.
    Thank you very much!

    regards,
    Joost

    Avatar: Eva
    Eva Kemp
    Support staff
    May 30, 2015 at 08:58

    Hello @Joost,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.