Swap effect doesn't work - by zeny - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Eva Kemp

  • Avatar: zeny
    zeny
    Participant
    May 18, 2015 at 16:07

    Hi I’m trying to change the effect for page layout but the swap effect doesn’t work please see the screenshot http://screencast.com/t/YtdQVCxh2F
    Could you tell me What I should do

    website

    http://blacksunstore.com/

    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 18, 2015 at 17:00

    Hello,

    You’re using old theme version.
    Please update it to 1.4 version as well as the required plugins:
    https://www.8theme.com/download-plugins/

    Please watch the tutorial how to update theme (it’s for Legenda theme but the process is the same).

    Regards,
    Eva Kemp.

    Avatar: Eva
    Eva Kemp
    Support staff
    May 18, 2015 at 19:51

    Hello,

    We’ve managed to resolve the issue.

    The problem was caused by your hosting settings.
    Image is loaded from the path that is defined in “DOCUMENT_ROOT” variable. On a server where your site is located the path for DOCUMENT_ROOT is written:
    _SERVER[“DOCUMENT_ROOT”] /var/chroot/home/content/53/7485453/html
    but your site is located in /var/chroot/home/content/53/7485453/html/BS and this path is written for variable “REAL_DOCUMENT_ROOT”.
    So to fix the issue I’ve changed the code $file_path = $_SERVER['DOCUMENT_ROOT'] . $file_path['path']; to $file_path = $_SERVER['REAL_DOCUMENT_ROOT'] . $file_path['path']; on line 118 in the file wp-content/themes/woopress/framework/images.php.

    Please clear browser cache and check hover image now.

    Regards,
    Eva Kemp.

    Avatar: zeny
    zeny
    Participant
    May 21, 2015 at 16:43

    MM doesn’t work I have the same code

    $file_path = $_SERVER[‘REAL_DOCUMENT_ROOT’] . $file_path[‘path’];

    Avatar: Eva
    Eva Kemp
    Support staff
    May 21, 2015 at 17:36

    Hello,

    Please update the theme and plugins as described in previous post.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: zeny
    zeny
    Participant
    May 21, 2015 at 17:43

    YEs I’m testing here I installed the last version and doesn’t work

    http://practice.zenycr.com/?product_cat=camiseta

    Please, contact administrator
    for this information.
    Avatar: zeny
    zeny
    Participant
    May 21, 2015 at 17:50

    I downloaded in Themeforest and the I installed but is not working yet Could you please check ?
    In my test environment

    Thanks

    Avatar: zeny
    zeny
    Participant
    May 21, 2015 at 18:02

    Never mind It Works thanks 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    May 21, 2015 at 19:19

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘swap effect doesn't work’' has been successfully resolved, and the topic is now closed for further responses

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