Are anyone experienced this and maybe can help me out with this? Appreciate any help given.
King Regards,
Kaur
GoGoNano is passionate about creating eco-friendly bio cleaners and waterproofing sprays that people feel safe to use within their home and around their family.
https://www.gogonano.com
GoGoNano is passionate about creating eco-friendly bio cleaners and waterproofing sprays that people feel safe to use within their home and around their family.
https://www.gogonano.com
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
GoGoNano is passionate about creating eco-friendly bio cleaners and waterproofing sprays that people feel safe to use within their home and around their family.
https://www.gogonano.com
Hello OC2PSOC2PS wrote:It should work already if all your stores use the Default theme.
I will work on a version for stores that use different themes. But don't hold your breath.
When i used this MOD, the stars were not visible. so as per your forum post:
i replaced below code in (mytheme/product/product.tpl)
Code: Select all
<div><img src="catalog/view/theme/mytheme/image/stars-<?php echo $rating; ?>.png" alt="<?php echo $reviews; ?>" />
Code: Select all
<div><img src="catalog/view/theme/greetathon/image/stars-<?php echo round($product['rating']); ?>.png" alt="<?php echo $reviews; ?>" />
Code: Select all
PHP Notice: Undefined variable: product in public_html/catalog/view/theme/mytheme/template/product/product.tpl on line 295
1) You're not using default theme so don't expect this extension to work out of the box. It's possible, but chances are you'll need to customize for your theme.
2) Looks like you replaced the wrong bit of code - that patch is for a module or related products within an array loop where $product is defined, not meant to replace the main product review as you did.
3) You've private messaged me twice now but I can't respond since you have pm replies disabled in your account here. Not sure if you realized that.
billynoah wrote:@DavKan
1) You're not using default theme so don't expect this extension to work out of the box. It's possible, but chances are you'll need to customize for your theme.
2) Looks like you replaced the wrong bit of code - that patch is for a module or related products within an array loop where $product is defined, not meant to replace the main product review as you did.
3) You've private messaged me twice now but I can't respond since you have pm replies disabled in your account here. Not sure if you realized that.
I apologize for this. Now i have enabled the replies. I was not aware of that.
request you respond..Thanks in advance.
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
GoGoNano is passionate about creating eco-friendly bio cleaners and waterproofing sprays that people feel safe to use within their home and around their family.
https://www.gogonano.com
GoGoNano is passionate about creating eco-friendly bio cleaners and waterproofing sprays that people feel safe to use within their home and around their family.
https://www.gogonano.com
GoGoNano is passionate about creating eco-friendly bio cleaners and waterproofing sprays that people feel safe to use within their home and around their family.
https://www.gogonano.com
Thanks in advanced
The mod works great, but Google Structured Data Tool shows prices in Sterling. I want them in US dollars or Euros instead, any way to do that?
Heavy OpenCart Customizations. Current project in progress: fleurworld.com
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I am upgrading it right now from 1.9.7. Comparing it with DIFF, the only additions your latest version got for OpenCart 1.5.6 which I didn't have are:i2Paq wrote:Do you use the latest release?
Related products star rating fix
a search.tpl string
and a "if ($profile)" in another XML clause.
Regarding the currency schema microcode, my version is the same as the latest.
Edit:
Actually, the "Close price div" section in the "catalog/view/theme/*/template/product/product.tpl" file section has this in your latest version:
Code: Select all
<?php if ($profiles): ?>
The original:
Code: Select all
<?php if ($options) { ?>
Heavy OpenCart Customizations. Current project in progress: fleurworld.com
I am using Opencart 1.5.4 now, having the same problem with rating image loading. Somehow the rating image name has 4 decimals, for example 3 reviews with 2 of 5 stars and 1 of 3 stars, the average rating is 4.3333. Is there an easy solution available?
I have tried to replace catalog/view/theme/default/template/product/product.tpl
<div><img src="catalog/view/theme/default/image/stars-<?php echo 'rating'; ?>.png" alt="<?php echo $reviews; ?>"
with
<div><img src="catalog/view/theme/default/image/stars-<?php echo round($product['rating']); ?>.png" alt="<?php echo $reviews; ?>"
But it is not working.
Also VQmod file vq2-catalog_controller_product_product.php
'rating' => (int)$result['rating'], replaced with 'rating' => (round)$result['rating'],
not working as well.
Anybody can give me a hint how to do it? Many thanks to all developers for this brilliant software. I start to learn all from 0 background. Now I can get my webshop working although it requires a lot of improvements still.
Ooste
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Users browsing this forum: No registered users and 15 guests