RTL in Phoca Cart

Phoca Cart - complex e-commerce extension
yosif
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jun 2019, 12:29

RTL in Phoca Cart

Post by yosif »

Hi
Phoca Cart support writing from left to right, but the price stays in the left and value from the right. This is not appropriate with languages such as Arabic, Persian, and Hebrew.
Is there a solution to make the price appear to the right of the product and its value on the left
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: RTL in Phoca Cart

Post by Jan »

Hi, can you paste a screenshot of which situation is now and which is the correct display?

Thank you, Jan
If you find Phoca extensions useful, please support the project
yosif
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jun 2019, 12:29

Re: RTL in Phoca Cart

Post by yosif »

Thank you for the wonderful addition
I think adding support for right-to-left languages, will be increased by force.
screenshot Files have been Attach

https://ibb.co/JrK5HPd
https://ibb.co/LZK0vRZ
https://ibb.co/yFrZZKm
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: RTL in Phoca Cart

Post by Jan »

Hi, hmmm, the output is a bootstrap output so I will try to see if there is some option in Bootstrap to have RTL support :idea:

Jan
If you find Phoca extensions useful, please support the project
yosif
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jun 2019, 12:29

Re: RTL in Phoca Cart

Post by yosif »

thanks for your answer
I do not think there is a conflict with the bootstrap, because the description and pictures appear from right to left and take it from the template language. The problem is limited to data parameters such as price, Manufacturer, SKU, In Stock, etc.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: RTL in Phoca Cart

Post by Jan »

Hi, no, I don't mean there is a conflict, but I mean, the maybe Bootstrap has some feature to include RTL support (as all html output code is created for Bootstrap styling)

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: RTL in Phoca Cart

Post by Jan »

I am preparing new version now, there will be new parameter: Load RTL CSS:

Image

So this CSS could be a goot start to add RTL support (I am not RTL user, so there will be need to get help and improve this RTL CSS mostly by RTL users)

Image

Jan
If you find Phoca extensions useful, please support the project
yosif
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jun 2019, 12:29

Re: RTL in Phoca Cart

Post by yosif »

great
Thank you very much, Jan
This is excellent.
I will ask friends to also try and use Phoca cart with Arabic and Hebrew languages
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: RTL in Phoca Cart

Post by Jan »

Yes, will be great to get the feedback as much as possible.

Thank you.

Jan
If you find Phoca extensions useful, please support the project
Post Reply