Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 General
 Suggestions - NOT QUESTIONS
 Choice to use the custom images or the blue stars
Author « Topic »  

PaulP
Advanced Member

USA
203 Posts

Posted - 05/25/2021 :  09:39:35  
Hello,
After updating the store to 7.2.6 the Product Review custom image was gone and changed to blue stars.

I uploaded the custom images to the site as I've done before after every update but the blue stars are still showing. I clicked on the stars and clicked inspect and their is no reference to the custom images. Instead of pointing to the image folder like it used to I have this now

<svg xmlns="http://www.w3.org/2000/svg" shape-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd"><path d="M12 1.2l2.67 8.28 8.7-.02-7.04 5.1 2.7 8.27L12 17.68 4.98 22.8l2.7-8.27-7.04-5.1 8.7.02z"></path></svg>

I see the images have been replaced with auto-generated SVG images.

May I recommend that we have a choice to use the custom images or the blue stars. The customer paid a good amount of $ for the images to be created for use on the website.

Your help with this problem is greatly appreciated.


Yours Truly,
Paul P.
Longtime ECT Customer

1818charlie
ECT Moderator

United Kingdom
1179 Posts

Posted - 05/25/2021 :  12:37:49  
Hi Paul

Hope this helps

From the 7.2.5 release in December '20 SVG icons are now used for the ratings stars which replace the old "shopping cart" rating graphics. These new SVG icons can be coloured to match your site for instance the following CSS will set the default blue color...

div.largereviewstars svg.icon,div.smallreviewstars svg.icon{
fill:#006ABA;
}


Steve
Bolton Lancashire

Edited by - 1818charlie on 05/25/2021 12:41:08

PaulP
Advanced Member

USA
203 Posts

Posted - 05/25/2021 :  13:23:20  
Hi 1818charlie,
I understand the new update replaces the "shopping cart" rating graphics but that doesn't help my customer.

They paid to have custom rating Icons for their site. May I recommend that we have a choice to use the custom images or the blue stars.

I know were not to ask questions in this form but is there anyway or script I can use to point to the custom images again?

Yours Truly,
Paul P.
Longtime ECT Customer

Edited by - PaulP on 05/25/2021 13:28:35

dbdave
ECT Moderator

USA
10272 Posts

Posted - 05/25/2021 :  14:01:25  
Hi Paul, "how dare you ask a question here"...
I think there is a possibility that this will be added to a future update as others will have the same issue.
If not, I will see if I can dig into the code, so you can make a custom change to use the image(s) again.

Thanks,
David

PaulP
Advanced Member

USA
203 Posts

Posted - 05/26/2021 :  04:08:27  
Thanks dbdave.

Yours Truly,
Paul P.
Longtime ECT Customer

Vince
Administrator

42460 Posts

Posted - 05/26/2021 :  08:44:49  
Ok, I bit the bullet and added this today. You need the very latest v7.3 updater and then once updated, add this parameter to your includes.asp/php file...

imgreviewcart="reviewcart.gif" ' ASP Version

$imgreviewcart="reviewcart.gif"; // PHP Version

You can use any name and format now for the review cart images if you choose to use the non-SVG versions. But whatever the name, the half point, no point and small image names will be created from this. For instance, if you choose...

reviewcart.png

...then you need to have in the images folder these files...

images/reviewcart.png
images/reviewcarthg.png
images/reviewcartg.png
images/sreviewcart.png
images/sreviewcarthg.png
images/sreviewcartg.png

Vince


Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

PaulP
Advanced Member

USA
203 Posts

Posted - 05/26/2021 :  19:14:24  
Hi Vince,
Thank you, Thank you, Thank you.

I updated to v7.3 and added the parameter

imgreviewcart="reviewcart.gif"
$imgreviewcart="reviewcart.gif";

to the includes.php page and the site went down.

The parameters on the page have the (Example $GLOBALS['removedefaultoptiontext']=TRUE;) in front of them.
I've dealt with $GLOBALS before and had no problems following the code. I can't get the new parameter to work with the $GLOBALS code.

I tried
$GLOBALS[ 'imgreviewcart="reviewcart.gif"']
$GLOBALS[ '$imgreviewcart="reviewcart.gif";

$GLOBALS[ 'imgreviewcart="reviewcart.gif" ']
$GLOBALS[ '$imgreviewcart="reviewcart.gif" '];

What am I missing?



Yours Truly,
Paul P.
Longtime ECT Customer

PaulP
Advanced Member

USA
203 Posts

Posted - 05/26/2021 :  19:25:22  
Hi Vince,
See email I sent you.

Yours Truly,
Paul P.
Longtime ECT Customer

Marshall
Ecommerce Template Guru

USA
1874 Posts

Posted - 05/26/2021 :  19:57:46  
If you are using PHP, then both have to be
$imgreviewcart="reviewcart.gif";
$imgreviewcart="reviewcart.gif";
Your are missing the $ and ; on the first line.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

insight
ECT Moderator

USA
4476 Posts

Posted - 05/26/2021 :  20:06:34  
Vince quoted the ASP and PHP flavors on successive lines, you want one or the other, but not both .

Either imgreviewcart="reviewcart.gif" for ASP OR $imgreviewcart="reviewcart.gif"; in the case of PHP. $GLOBALS[ '$imgreviewcart="reviewcart.gif" ']; should also be fine with PHP.

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com

Vince
Administrator

42460 Posts

Posted - 05/27/2021 :  01:58:48  
Hi PaulP
I got the FTP login that you sent but it doesn't work for me. But can I just say that you only need this one line in your includes.php file...

$imgreviewcart="reviewcart.gif";

If you had the WordPress version (but I don't think you have) you would need this...

$GLOBALS['imgreviewcart']="reviewcart.gif";

Can you try that first line above and if that doesn't work, then please check the FTP login.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

PaulP
Advanced Member

USA
203 Posts

Posted - 05/27/2021 :  06:18:58  
Hi to Everyone that helped with this problem especially Vince who went out of his way to make it possible for the use of custom Product Review images.

Vince "bit the bullet" and took the time to make it possible to use your custom Product Review images again in the 7.3.3 updater. Thank you again Vince, your the BEST.

The fix:
Run the 7.3.3 updater
Add this script to the includes.php page $imgreviewcart="reviewcart.gif";
Upload the custom Product Review images to the image folder

Your custom Product Review images will appear again.

Thank you, Thank you, Thank you again Vince for all your help.



Yours Truly,
Paul P.
Longtime ECT Customer

Vince
Administrator

42460 Posts

Posted - 05/28/2021 :  03:27:19  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000