• Priority: High
  • Status: Assigned   Reopened
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 16.04.21, 14:52
  • Opened by: ana savin

Ticket #21317 - Mail alerts module

Hello , the default Mail Alerts module doesn`t work corectly.
It shoul display an input or a button where customers can subscribe to receive notifications when a product is back in stock.
The problem is that the input doesn`t appear if i have a product with combinations and only one combination is out of stock.
My product page is create from layouts builder and i guess that the module should be widget to work properly.

Can you help me with this problem?

Comments

Fred 17 Apr 2021, 10:43

Hi, ana savin.
Could you please give me a link to a page where I can see the issue?

ana savin 26 Apr 2021, 11:49

This is a combination without stock https://www.savinskin.com/makeup/ilia-beauty/super-serum-skin-tint-spf30#/345-color-jardin_st165 It should appear the button to subscribe for notification when the combination is back in stock

Fred 26 Apr 2021, 14:18

Have you tried to reset thee Mail Alerts module?
Please update credentials in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP

ana savin 27 Apr 2021, 14:55

I`ve updated the credentials. No i did not try to reset the module

Fred 27 Apr 2021, 16:42

Please try to reset it first. Let me know the result

ana savin 10 May 2021, 08:33

I`ve reseted the module on the dev copy of the site. It is still not working.

Fred 10 May 2021, 12:35

Unable to connect to your server through FTP

Status:      	Resolving address of savinskin.com
Status:      	Connecting to 104.21.49.62:21...
Error:        	Connection timed out after 20 seconds of inactivity
ana savin 12 May 2021, 11:03

Why the ticket is closed? You need to give me your IP and i`ll provide you access.

Fred 12 May 2021, 11:03

I'm sorry. I can't understand how the ticket was closed. I have re-opened it

Fred 12 May 2021, 11:04

31.182.218.247

ana savin 12 May 2021, 16:19

You can try connect now. I`ve also changed the credentials, please check them first.. Thank you.

Fred 12 May 2021, 19:31

Yes, I have access now.
I have checkout out and don't see the any problems with that.
The module is enabled and hooked into the displayProductAdditionalInfo https://take.ms/w4SbB

The product is not available for me anymore https://www.savinskin.com/makeup/ilia-beauty/super-serum-skin-tint-spf30#/345-color-jardin_st165 and I can't check it out.

I also found out you are using third-party cache module, maybe it causes the issue, try to disable it for a test

ana savin 13 May 2021, 14:38

The cache module is disabled.
For this particular color https://www.savinskin.com/brand/ilia-beauty/super-serum-skin-tint-spf30#/342-color-honopu_st145 should appear the input to subscribe for back in stock notifications.

Fred 14 May 2021, 14:05

I have removed following condition from the module

0 < $params['product']->quantity

and it started to work - https://take.ms/Bozp0

That means there is no problem with the theme. Please check out your product configuuration

ana savin 24 May 2021, 13:48

Hello, it is not what i was saying. So you said that if you remove that line of code it will work but the input email will appear for the entire product so if you change the combination to one that has stock that input will not dissapear.