Forums / Bug Reports / [Not a bug] Product is Free image not language-dependent

[Not a bug] Product is Free image not language-dependent

Locked

Views: 1,431

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Oct 2010, 2:35 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,875
Plugin Contributions:
7

[Not a bug] Product is Free image not language-dependent

If a product is set to free and
in Admin->Show the Price is Free Image =1, the image of the text "Free" is pulled from the template images rather than the languages images so it can only be in one language.

Call for Price image has the same limitation.

I guess the changes need to be in
functions/functions_prices.php in the function
zen_get_products_display_price

regards
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

13 Oct 2010, 3:09 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Not a bug] Product is Free image not language-dependent

Did you try to customize this file and define:

/includes/languages/english/other_images_names.php

Line #17 : define('OTHER_IMAGE_CALL_FOR_PRICE', 'call_for_prices.jpg'); 

and set per language different images? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Oct 2010, 4:54 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: [Not a bug] Product is Free image not language-dependent

So you should have in /includes/languages/french/other_images_names.php
Line #17 :

define('OTHER_IMAGE_CALL_FOR_PRICE', 'appelez_pour_prix.jpg');
13 Oct 2010, 9:53 PM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,875
Plugin Contributions:
7

Re: [Not a bug] Product is Free image not language-dependent

aaah!
I had no idea that file existed - I just looked at the generated page code.

Is that in the documentation somewhere?

thanks
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...