• Closed by: Marek
  • Closed on: 02.07.18, 15:55
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12447 - lookbook message traslation

Hello
in the lookbook i did same customisation but i use the same module and it’s work, but when there is only a item in stock appeare this message:
The item copy of T-Shirt Con Inserto in your cart is no longer available in this quantity. You cannot proceed with your order until the quantity is adjusted. i’d like to change it! but i can’t find this massage in the translation… can you help me?
thanks
best regards
cristina

Comments

Marek 27 Jun 2018, 08:51

Hi, Cristina.
Could you please take a screenshot of the message?

Cristina Taddei 27 Jun 2018, 09:25

Hi, Marek.
yes, i have to work on this page.
https://www.susystore.com/store/gb/module/pk_lookbook/lookbook clic on the first image on the right.
thanks

Marek 27 Jun 2018, 09:47

I have found out that text, it must be available in the translation page under “Shop.Notifications.Error” domain

Cristina Taddei 27 Jun 2018, 10:20

thanks! but i don’t find the access to this message in the backend translations.. can you tell me more o tell me the path of the file? thanks a lot

Marek 27 Jun 2018, 18:56

Strange. Try to change the text directly in the file /controllers/front/CartController.php

Cristina Taddei 28 Jun 2018, 08:28

I found it! thanks! i changed the sentence in “out of stock” but now write the same in italian e english. How can i change the italian translation?

Marek 28 Jun 2018, 11:58

Try to do that again in the Translation page in your back office. I have no idea what’s wrong with this phrase

Cristina Taddei 28 Jun 2018, 13:35

Hi Marek i can’t find it on translation..ufh

I have 2 questions more :
1) how can I change the border size of the selected color composition?
2) can i disable the button for the product out of stock? at the moment there isen’t any indication thet comunicate it.. on the demo there is!
let me now please!
thancks

Cristina Taddei 28 Jun 2018, 18:04

have I open a new ticket?

Cristina Taddei 28 Jun 2018, 18:06

don’t consider the question 2) it work!

Marek 28 Jun 2018, 21:16

Do you mean this border? http://take.ms/tCJ57

Cristina Taddei 29 Jun 2018, 08:23

yes!

Marek 29 Jun 2018, 11:18

Try this CSS:

body #product .product-variants-item ul li input:checked + span {border-color:#000}
Cristina Taddei 29 Jun 2018, 14:14

yes!

Cristina Taddei 29 Jun 2018, 14:47

i inserted this code in theme setting css
body #product .product-variants-item ul li input:checked + span {border-color:#ccc; border-width: 3px;}
but don’t show any changement.

Cristina Taddei 29 Jun 2018, 14:50

can you put the border-width: 3px; in the css? the color black is ok!
thanks

Marek 29 Jun 2018, 15:01

Try

border-width: 3px !important;
Cristina Taddei 29 Jun 2018, 15:33

nothing!
i cleared the cache and cleared the ps cache.
there isn’t any changement

Marek 01 Jul 2018, 13:14

Try to change that directly in the file /themes/alysum/assets/css/theme.css
http://take.ms/9pibW

Cristina Taddei 02 Jul 2018, 10:04

don’t consider the question 2) it work!

Cristina Taddei 02 Jul 2018, 10:20

Hi Marek!
i did the changing of the css file you told me.
Now the border change just for 1 second. Something overwrite the instruction.

Marek 02 Jul 2018, 10:28

it works fine for me http://take.ms/rUDOt

Cristina Taddei 02 Jul 2018, 10:43

that’s incredible!
i clear all the cache, i use chrome and safari and i still see the 1px border.
why?

Marek 02 Jul 2018, 10:50

The question is not about the theme, but prestashop.
Try to add “!important” http://take.ms/mGm1FI

Cristina Taddei 02 Jul 2018, 14:31

ok ! it’s work!
thank you Marek !
your help has been precious

Marek 02 Jul 2018, 15:55

No problem