Jump to content

Edit History

wapmakerw

wapmakerw


Added more information

Hello everyone,

This is my first forum post here. :)
I have a multi-shop Prestashop (1.7.5.2) site with two subdomains (shop1 & shop2).

The problem I am facing:

On shop1, when I go to Back-Office -> Catalogue -> Products -> Product choose -> Options tab -> Customization Head 

and enter the some Customization text as a Text Field for one shop (check screenshot attached). On saving, it gets saved but the Text Field disappears from the shop2. The same behavior occurs when I save the Text Field from the shop2. I cannot simultaneously have the Customization text fields on both shops.

(The same issue occurs on Prestashop version 1.7.7 also)

I looked into the code and found that in `src/Adapter/Product/AdminProductWrapper.php` the following function calls delete all other text fields than the ones currently entered.

$product->softDeleteCustomizationFields($customization_ids); // and
Customization::deleteCustomizationFieldLangByShop($customizationFiled['id_customization_field'], $shopList);


I could not find how to fix it though. :(

Can anyone please help me with this asap? I'll be highly grateful.

 

2021-04-26_11-49.png

wapmakerw

wapmakerw


Added more information

Hello everyone,

This is my first forum post here. :)
I have a multi-shop Prestashop (1.7.5.2) site with two subdomains (shop1 & shop2).

The problem I am facing:

On shop1, when I go to Back-Office -> Catalogue -> Products -> Product choose -> Options tab -> Customization Head 

and enter the some Customization text as a Text Field for one shop (check screenshot attached). On saving, it gets saved but the Text Field disappears from the shop2. The same behavior occurs when I save the Text Field from the shop2. I cannot simultaneously have the Customization text fields on both shops.

(The same issue occurs on Prestashop version 1.7.7 also)

I looked into the code and found that in `src/Adapter/Product/AdminProductWrapper.php` the following function calls delete all other text fields than the ones currently entered.

$product->softDeleteCustomizationFields($customization_ids); // and
Customization::deleteCustomizationFieldLangByShop($customizationFiled['id_customization_field'], $shopList);


I could not find how to fix it though. :(

Can anyone please help me with this asap? I'll be highly grateful.

Best regards,

Auro

2021-04-26_11-49.png

wapmakerw

wapmakerw


Added more information

Hello everyone,

This is my first forum post here. :)
I have a multi-shop Prestashop (1.7.5.2) site with two subdomains (shop1 & shop2).

The problem I am facing:

On shop1, when I go to Back-Office -> Catalogue -> Products -> Product choose -> Options tab -> Customization Head 

and enter the some Customization text as a Text Field for one shop (check screenshot attached). On saving, it gets saved but the Text Field disappears from the shop2. The same behavior occurs when I save the Text Field from the shop2. I cannot simultaneously have the Customization text fields on both shops.

(The same issue occurs on Prestashop version 1.7.7)

I looked into the code and found that in `src/Adapter/Product/AdminProductWrapper.php` the following function calls delete all other text fields than the ones currently entered.

$product->softDeleteCustomizationFields($customization_ids); // and
Customization::deleteCustomizationFieldLangByShop($customizationFiled['id_customization_field'], $shopList);


I could not find how to fix it though. :(

Can anyone please help me with this asap? I'll be highly grateful.

Best regards,

Auro

2021-04-26_11-49.png

wapmakerw

wapmakerw

Hello everyone,

This is my first forum post here. :)
I have a multi-shop Prestashop (1.7.5.2) site with two subdomains (shop1 & shop2).

The problem I am facing:

On shop1, when I go to Back-Office -> Catalogue -> Products -> Product choose -> Options tab -> Customization Head 

and enter the some Customization text as a Text Field for one shop (check screenshot attached). On saving, it gets saved but the Text Field disappears from the shop2. The same behavior occurs when I save the Text Field from the shop2. I cannot simultaneously have the Customization text fields on both shops.

I looked into the code and found that in `src/Adapter/Product/AdminProductWrapper.php` the following function calls delete all other text fields than the ones currently entered.

$product->softDeleteCustomizationFields($customization_ids); // and
Customization::deleteCustomizationFieldLangByShop($customizationFiled['id_customization_field'], $shopList);


I could not find how to fix it though. :(

Can anyone please help me with this asap? I'll be highly grateful.

Best regards,

Auro

2021-04-26_11-49.png

×
×
  • Create New...