Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

swipestripe and translatable combining


Reply

4 Posts   468 Views

Avatar
isolated

27 January 2014 at 8:40am Community Member, 28 Posts

Hi,

has anyone used swipestripe and translatable modules?

The problem comes in if you add multiple products from different languages. Then - you get only part of the items.
I imagine, that solution for this problem could be done in few different cases:
by adding one product, add the same product at all languages or
at cart product display show all products.

Has anybody done anything to solve such problem? Maybe there are more simple ways?

Avatar
frankmullenger

28 January 2014 at 9:42pm Forum Moderator, 51 Posts

Someone has used one of the translatable modules with a cart yes, iirc it was for a French Canadian shop. I'm not sure which translatable module was used, I'd love to see someone try and use the [url=http://addons.silverstripe.org/add-ons/tractorcow/silverstripe-fluent]fluent module[/url] with Swipestripe personally!

At the end of the day products in Swipestripe are simply pages, the most important thing is to have the correct price returned when a product is added to a cart regardless of locale. Hope that helps :-)

Avatar
isolated

28 January 2014 at 10:49pm (Last edited: 28 January 2014 10:50pm), Community Member, 28 Posts

Hi,

as mentioned i used translatable, configured for 2 languages.
Assuming we have a product Prod1 in two languages we have Prod1_lang1 and Prod1_lang2.
When adding the same product in lang1 and lang2, we have two different products, as their product id are different (product maps are different when compared at cart).

Additionally, as localization is different, if page is in lang1 we would see product description in lang1 and lang2 - would be empty. The same situation after switching languages.

So it would be interesting how people deal with this problem

Avatar
frankmullenger

29 January 2014 at 4:29pm Forum Moderator, 51 Posts

I can see why it would be a bit tricky, I don't have much experience in this area but it seems like the fluent module works slightly differently to translatable which might make it a bit easier to integrate in this instance. Interested to hear how you get on though!