hxii
Forum Replies Created
-
Forum: Plugins
In reply to: [Yotpo Reviews for WooCommerce (Unofficial)] Star Ratings on Shop PageHey @pgrafix, if you’re using AJAX to load information I guess this is something that could happen.
This plugin relies on simple hooks to output the various widgets, so I guess with AJAX this can be broken.As for the second question, I might switch preload to prefetch to avoid this console warning.
Forum: Plugins
In reply to: [Yotpo Reviews for WooCommerce (Unofficial)] Dual Reviews Tabshey @pgrafix, since you’re saying one of the tabs is the standard WooCommerce reviews tab, could you make sure that the “Disable native reviews system?” option is enabled?
Forum: Plugins
In reply to: [Yotpo: Product & Photo Reviews for WooCommerce] Variations vs ProductsHey Michal, the problem stems from the way WC handles variations – they are not a separate entity when it comes to the front-end page they are on.
Allow me to paint an example:
– Shirt (ID: 1) – main product.
– Shirt – Red (ID: 2) – variation of 1.
– Shirt – Blue (ID: 3) – variation of 1.All three products point to product 1’s page (e.g https://localhost/shirt), and when you go to this page, the WooCommerce global $product will have an ID of 1.
Even if you choose variation 2 or 3, the product you are currently on is 1.
If you submit the variation ID to Yotpo, review requests will be sent for those IDs and will never show up on the main product ID (1).It’d be much simpler if variations were separate entities in WooCommerce.
Hey @dedlobster, if you comment out line 412 in
wc_yotpo.php
you should be able to manage the tab with WooCommerce Tab Manager.
The line in questionForum: Plugins
In reply to: [Yotpo: Product & Photo Reviews for WooCommerce] amend keysUninstall and re-install the plugin and you should be able to log in using different keys.
Forum: Plugins
In reply to: [Shortcodes for Yotpo] Not working after adding to the custom pageI’d just like to add that
[yotpo_widget]
has to be used:
1. Either in a product loop or
2. Be given aproduct_id
property.Please see the usage here: https://paulglushak.com/shortcodes-for-yotpo
Forum: Plugins
In reply to: [Shortcodes for Yotpo] Only one short code worksHey there! For
[yotpo_product_reviews_carousel]
make sure you’re passing thenoproduct
argument in case it’s not a product page and noproduct_id
is given.Please check https://paulglushak.com/shortcodes-for-yotpo/ for a more in-depth documentation.
Hope this helps!
Forum: Plugins
In reply to: [Shortcodes for Yotpo] Archive PagesUnfortunately, with page builders it’s not possible (AFAIK) to automatically get the product ID (in the context of category/archive) as the shortcode is not within the product loop when you add it, so you will have to add the
product_id
property with the proper value.Forum: Plugins
In reply to: [Shortcodes for Yotpo] Archive PagesDo you mean regular category pages or ones built with a page-builder?
Can you show me how you implement the shortcode?You are probably running an old version of PHP (<5.5).
I would advise to update your PHP version, which will resolve this issue, among others.Hey @randvek from what I can see, you’re utilizing AJAX to load pages in your website.
In this case, please see here: https://support.yotpo.com/en/article/loading-yotpo-with-ajax
Additionally, the usual WooCom theme hooks are probably missing in your theme, so you’ll have to add the reviews/bottomline code manually to your template.Each case is different, so I suggest you contact support and they’ll be able to help you out.
P.S. The error is also related to the fact AJAX is used. When clicking on the bottomline, it tries to scroll to the Reviews Widget that is not there.
- This reply was modified 6 years, 7 months ago by hxii.
Hey @randvek
Can you show me where this happens?@restalfep Nope, doesn’t look like it’s used anywhere in the scope.
Hey, I’ve submitted the fix but it may take a little while until it’s integrated.
You can see the changes that are necessary here: https://github.com/hxii/woocommerce-plugin/commit/9edaea96c7a9137c19f1446d98917a93d328bf99#diff-6f948e0570ea5f7f094e09f99755d830