WordPress.org

Ready to get started?Download WordPress

Forums

Ecwid Product Advisor
[resolved] Ecwid Random Products not working since updating WP and Ecwid Shopping Cart (7 posts)

  1. adopted3
    Member
    Posted 5 months ago #

    Hello,
    Just updated to WP 3.7, and updated Ecwid Shopping Cart plugin from 1.8.1 to 2.0, and this broke my shortcode for Random Products:

    <?php
     echo do_shortcode('[ecwid_random_products number=16 show_title=true as_row=true per_row=4]');
    ?>

    (The products don't display, and the rest of the page doesn't load, so I've had to temporarily remove this code.)

    Regards,
    Paul

    http://wordpress.org/plugins/ecwid-useful-tools/

  2. erikdk007
    Member
    Posted 5 months ago #

    I have same problem as Adopted3. After updating to newest ecwid shopping cart (2.0) plugin my site will not load properly, it only displays the header.

    After disabling the ecwid-product-advisor (ver. 0.8 beta6)plugin, my website and the ecwid-shopping-cart plugin work as intended.

  3. whatachamp
    Member
    Posted 5 months ago #

    Just want to add that I've also had this problem.

  4. seyfin
    Member
    Plugin Author

    Posted 5 months ago #

    As a quick/workaround fix

    - edit the following file in your WordPress installation

    wp-content/plugins/ecwid-useful-tools/classes/Product.php

    - and remove the following lines of code

    #TODO check if we can not rely on Ecwid Shopping Cart plugin here
    if (get_ecwid_protocol() == "https")
    $this->thumbnail_url = str_replace($search = 'http://', $replacement = 'https://', $this->thumbnail_url);

    P.S.

    The ecwid-product-advisor will be updated soon.

  5. seyfin
    Member
    Plugin Author

    Posted 5 months ago #

    P.S.

    The issue is related to the following fatal PHP error, which occurs after upgrading the Ecwid Shopping Cart plugin to 2.0:

    Fatal error: Call to undefined function get_ecwid_protocol() in /home/wpsnwdgt/public_html/wp-content/plugins/ecwid-useful-tools/classes/Product.php on line 23

    The ecwid-product-advisor will be updated soon, in order to eliminate this error.

    Please accept our sincere apologies for the inconvenience caused by this incident.

    Best regards,
    Sergey

  6. whatachamp
    Member
    Posted 5 months ago #

    Ecwid product advisor have released an update - I updated both Product Advisor and Ecwid shopping cart and site is working fine again.

  7. adopted3
    Member
    Posted 5 months ago #

    Thank you... updating to 0.8 beta7 fixed this.

Reply

You must log in to post.

About this Plugin

About this Topic