WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: topper on October 05, 2011, 10:16:21 PM

Title: multilingual bakery
Post by: topper on October 05, 2011, 10:16:21 PM
I would like to have a multilingual bakery shop. Is that possible and how?

rgds topper
Title: Re: multilingual bakery
Post by: jacobi22 on October 05, 2011, 11:08:55 PM
a simple resolution..... one shop in language A, another shop in language B, use a language switch like module easymultilang and change the language in your shop-general-settings (Shop Land)
Title: Re: multilingual bakery
Post by: Bug on October 06, 2011, 07:55:28 PM
Since the recommended solution would mean you are going to mess up the stock administration this is not the best way...

The only thing that will differ for the items is possibly the description and the postage costs...

Dive into the code and add And extra short description and an extra long descrition for each language (and offcourse add the needed fields into the database (modify item / save_item)

Then in the view_overview and view_item add some code that gets the language of the current page and depending on that language get the needed description...


The last thing is to have a main page and a page that loads the items from the main bakery page...

The main page is just the regular page, for the other page would need to have a slight extra code in the view overview / view item pages...

In the string that gets the data from the database you will need to set the section id of the other page...

It will be quite an operation but it can be done