- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 12.07.19, 10:12
- Opened by: Gabriela Luca
- Closed by: Fred
- Closed on: 02.12.19, 22:08
- Reason: Closed
- Comment: Glad to help!
Ticket #15073 - Broken Add to cart button
Hello!
Im using Alysum theme in tandem with Combinations Tab Pro for detailed combinations tab.
On Prestashop classic theme the Combinations Tab Pro works like a charm, whenever i activate Alysum theme the Add to cart button gives error when is pressed “Product cannot be found”.
Sometimes the Combinations Tab Pro dissapear completly.
Add to cart button have some code text displayed in frontend, like “refresh_add_to_cart” I reactivated your account as superadmin.
Thanks in advance, have a nice day!
Comments
Please give me direct link where I could see the issue
https://pictus.ro/produse/29-69-art-creation-acril-200ml-azo-yellow-lemon.html#/32-culoare-azo_yellow_lemon Scroll down, you will see the combinations and at the end you will see add to cart.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP
Done!
Could you please ask module developer to help us. Maybe he can suggest something, maybe there are some specific requirements?
Hello!
For now i managed to tweak some stuff but i stll have problems:
1. Add to cart still show some weird text.
2. When i enable Amp theme for mobile and tablets i cant see Combinations tab pro in the footer (when accessed on mobile), when i switch to classic theme or i disable Amp, the combinations tab is there (when accessed on mobile).
Thanks in advance, have a nice day!
Product that have combinations tab active: https://pictus.ro/acrilice/20-55-test1.html#/26-culoare-titanium_white
1. Where I can see it?
2. Yes, because AMP is not compatible with third-party modules, each module has to be “ampified”
In the above link, scroll down and you will see all color combinations with add to cart for each combo,
instead of “Adauga in cos” wich is Add to cart in romanian language, you will see “Add_circle Adauga in cos” Have any documentation about how to ampify this module?
try following CSS:
There is full AMP documentation https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/
Hello, add to cart button issue is fixed, thanks.
The only issue that remains for now is:
Combinations Tab, which is an addon that displays color combinations in a tab under product, with possibility to add to cart, individually, each color (https://pictus.ro/acrilice/23-131-art-creation-acrilic-75ml.html#/26-culoare-titanium_white) scroll down a bit and you will se the table.
On classic theme this is working flawlessly. As soon as i activate Alyssum (without Amp) whenever some client adds to cart some color from the tab,
automatically opens the cart content instead of ajax popup which have the option to continue shopping and remain on same product.
This is a key element for us, because if a client needs to go back and search again for product after each color selected is getting annoyed.
This Combinations Tab module have some settings in the backoffice for switching Ajax cart on and off.
Behaviour with Ajax cart activated: Table doesent appear at all or if table appears, when you try to add to cart something from table you get the message “out of stock” Behaviour with Ajax cart deactivated: Table allways appear and you are able to add products to cart without the “out of stock” message but when you add to cart from table
you are redirected to Cart page and no Ajax popup with the option to continue shopping.
I created a ticket on Combinations Tab and they respoded that is not an issue with their addon, is with my theme.
Indeed, on classic theme everything works as expected.
I hope we manage to fix this, the theme and the addons bundle are awesome.
I see an error in the product comments module. try to disable it for a while
I deactivate both comments modules, Prestashop native and Facebook bundle from you, no change.
I left Ajax cart enabled for you, to be able to see the error when you try to add combinations to cart.
Now when I click Add to cart I see a popup messages, is that correct?
Access https://pictus.ro/ro/acrilice/23-131-art-creation-acrilic-75ml.html#/26-culoare-titanium_white Scroll down to color combinations and add to cart from that tab.
You will get the following message: “Impossible to add the product to the cart Produsul nu a fost gasit,Acest produs () nu mai este disponibil.” Which is false, the product is available. This only happens if i activate Ajax cart in Combinations Tab module.
Somehow your theme interfear with Combinations tab, because if i use classic theme everything works.
If helps you in any way we can use Skype and ill explain live whats the problem, activate and deactivate options so you can see the behaviour.
I see the problem. Hope to find a solution asap
The issue has been fixed. Please test to confirm the change
Hello!
You are the man!
Thanks alot!
Ticket closed!
after update the same problem is back, check my response from 24 Jul 2019, 17:13, i get same behaviour now
do you have a backup?
The last usable backup doesent include the product with 145 combinations that i added.
Not an option.
do you have a backup??
https://pictus.ro/pictura/6743-gama-de-culori-ulei-rembrandt-artists-40ml.html on this page you can see the combinations table, scroll down.
I attached a text file with the errors from Debug mode.
Yes, I see.
But have you a backup what you have to do before an update?
Wrong message, the above.
I tested on classic theme and is same behaviour.
Let them work on it.
Dont close the ticket yet, pls.
ok