Jump to content

Recommended Posts

Salve a tutti, CDT ho un problema con il modulo yotpo, ho installato il tutto le recensioni funzionano a il problema sta nella home page del sito mi scombina tutti i prodotti che ho in vetrina questo è il link del sito giusto pe farvi capire di cosa parlo:

www.dettaglistored.com

se fate caso è apporso anche uno zero di fianco al prodotto.

Spero che possiate aiutarmi, grazie.

Edited by willdesign82 (see edit history)
Link to comment
Share on other sites

  • 5 months later...

Hello,

Thank you for contacting Yotpo Support.

There are a few steps to take in order to resolve the issue. Please do all three and then uninstall and re-install the Yotpo app:
 

  1. In \modules\yotpo\yotpo.php in the getSingleMapData function on line 699, make the description variable an empty string.
    $product_data['description'] = '';

  2. In \modules\yotpo\YotpoHttpClient.php turn the HTTPS into http on rows 5 and 8
    const YOTPO_API_URL = 'https://api.yotpo.com';
    const YOTPO_API_URL_NO_SSL = 'http://api.yotpo.com';
    const HTTP_REQUEST_TIMEOUT = 3;
    const YOTPO_OAUTH_TOKEN_URL = 'https://api.yotpo.com/oauth/token';
    ( So it should read const YOTPO_API_URL = 'http://api.yotpo.com'; and const YOTPO_OAUTH_TOKEN_URL = 'http://api.yotpo.com/oauth/token'; )

  3. In the same file, look for Tools::strlen and delete "Tools::"
    there are 2 occurrences : row 82 and row 179

Sorry if it's a little confusing. 

Let me know if you have any questions and of course, if the issue was resolved.

For quick and useful information, we also recommend visiting our Help Center: https://support.yotpo.com/en/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...