Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language and currencies boxes issue


ecigaxc

Recommended Posts

Posted

Hi,

 

So I've installed a very nice template, I almost over to customize it, but I've an issue with languages and currencies...

 

In fact I can't find how to add these boxes back, is it even possible ?

 

 

My website: www.ecigaxc.com/shop

My version of os commerce: 2.2rc2a-fr_full_v1.1

 

 

Thanks in advance for your help (and sorry if I'm not very clear but I'm speaking french).

Posted

ok

go to your store....means... your catalog folder

 

catalog->includes->column_right.php

 

and put that code before ?> sign

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

Please take backup of your files before do changes suggested by me

Posted

Dude I love u ^^ (don't worry I'm not gay) !

 

Thanks thanks thanks to you for this answer (thought that will be very complicated but finally very simple, I suppose very helpfull to know these f...ing codes ^^).

 

But I've another question now (maybe more complicated I suppose):

if I want that when the customer change the language, all the images change too (so if I want to have pictures for every languages I mean). Is it possible to do it ?

Posted

Dude I love u ^^ (don't worry I'm not gay) !

 

Thanks thanks thanks to you for this answer (thought that will be very complicated but finally very simple, I suppose very helpfull to know these f...ing codes ^^).

 

But I've another question now (maybe more complicated I suppose):

if I want that when the customer change the language, all the images change too (so if I want to have pictures for every languages I mean). Is it possible to do it ?

 

 

Yes it's possible..

 

create image directory in the includes/languages/YOURLANGUAGE/ directory

 

path looks something like that includes/languages/YOURLANGUAGE/images/

 

put images in the directory and call the images from that directory where you want to display language wise image

 

like if i want to change header image language wise then i have to put header image in english/images, espanol/images, ....(LANGUAGE/images) and call from that directory using

 

tep_image(IMAGE_PATH, IMAGE_ALT, IMAGE_WIDTH, IMAGE_HEIGHT, PARAMETERS);

 

* IMAGE_PATH = DIR_WS_LANGUAGES . $language . '/images/IMAGE_NAME

 

TRY THIS....

Please take backup of your files before do changes suggested by me

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...