• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 26.11.20, 22:14
  • Opened by: HWS
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20000 - AMP - Out of stock combination / Desktop product combination price not updating on product page

On desktop the product price is not updating on product page when you change to another combination from radio button. Each combination has a different price impact on product price as it can be seen in the attachments.

On mobile AMP there is a message displayed that there is no stock for that combination but we have stock management disabled so it shouldn’t appear this message.

Login details are in my profile.

Attachments:

Capture.PNG (139.1 KiB)
Capture1.PNG (1.01 MiB)
Capture2.PNG (42.8 KiB)

Comments

Fred 27 Nov 2020, 11:26

Congratulations with pretty ticket number! :)

I need access to your server through FTP. Current credentials doesn’t let me to login

HWS 27 Nov 2020, 23:36

Hi

Thank you for getting back to me.

I have updated the login details and ftp details in my profile.
Please check and let me know if all is ok.

Thanks

Fred 28 Nov 2020, 12:16

Unable to connect through FTP Tried different modes FTP/SFTP, secure/insecure

HWS 29 Nov 2020, 21:27

Hi

Thanks for update. I just checked the the ftp works.
The problem is that we need to add your IP to whitelist.
You can also add it automatically by visiting this url before trying to connect to ftp.
https://www.jetclients.co.il/index.php?m=csfmanager&action=allow&key=f5864bc5f83fbb2e48eb49f1baee04da

Fred 30 Nov 2020, 11:06

The issue should be fixed now. Updated file is /public_html/themes/alysum/templates/catalog/_partials/product-add-to-cart.tpl

HWS 30 Nov 2020, 11:09

no i’m getting error now..attached.

Attachments:

error.png (811.2 KiB)
Fred 30 Nov 2020, 11:09

Please give me a link to that page

Fred 30 Nov 2020, 11:24

now it works https://take.ms/CdPXL

Fred 30 Nov 2020, 13:45

AMP module has been updated to the latest version, please check it out

HWS 30 Nov 2020, 14:35

now it’s saying products are out of stock on the category page.
https://gustelchocolate.com/mobile/category/10-%D7%94%D7%9E%D7%95%D7%A6%D7%A8%D7%99%D7%9D-%D7%A9%D7%9C%D7%A0%D7%95 and again we don’t use stock management.

Attachments:

outofstock.png (121.9 KiB)
HWS 01 Dec 2020, 10:27

any updates?

Fred 01 Dec 2020, 11:17

in progress… back to you as soon as possible

Fred 01 Dec 2020, 11:27

The issue has been fixed. Please test to confirm the change

HWS 01 Dec 2020, 11:34

why it’s saying view product and not add to cart?

Attachments:

view.png (138.3 KiB)
Fred 01 Dec 2020, 11:36

Because the product has combinations, that’s why you can’t add it to cart right from category page.
As for the link you gave me, I don’t see the problem there. Please give me more details

Fred 01 Dec 2020, 12:15

I have enabled Debug mode to be able to see error messages and found the error comes from the prestashop core files https://take.ms/46Ug7

Please try to update prestashop to latest version 1.7.6.9

HWS 01 Dec 2020, 12:29

I have updated the prestashop and still same error.
I used a clean install of prestashop and than right away installed your theme.

Fred 01 Dec 2020, 20:27

I see now.
You are using php version 7.3. The max php version supported by prestashop is 7.2. You have to downgrade your php version

HWS 02 Dec 2020, 13:49

When I enable the amp I get error.{{}}

HWS 02 Dec 2020, 15:28

When can you fix it please? It’s a live site..

Fred 02 Dec 2020, 18:05

Did you downgrade your php to 7.2?

HWS 02 Dec 2020, 18:07

yes.

HWS 02 Dec 2020, 18:09

attached is the error

Attachments:

amperror.png (98.1 KiB)
HWS 02 Dec 2020, 18:11
Fred 02 Dec 2020, 18:14

The issue has been fixed https://take.ms/mtI31