Looks as "Add to favourites"-button does not work with the Ajax-Buy_button together. If installed the Add-to_favs-Link adds product to cart instead of wishlist. Successfully added to cartmodal pops up an product wents to cart...
EDIT:
works, if in includes/modules/header_tags/ht_ajax_buttons.php line 89 changes selector from
Bear in mind that your 107.11 might have customised changes (ie core code changes), but for a brand new installation of 107.11 you need TWO minor changes;
Save both files and overwrite. Upload all, following instructions.
It -seemed- to work for me in a brand new installation of 107.11 as I intended it to work. Report back?
You might like to try on your test site before doing the same on live site!!!
I am not here to build for you.
I am here to build with you. Let's help each other.
For anyone else reading, the more "older" versions you go, the more you move away from 107.12 (which is what the wishlist was written on), so the changes may not be as easy as you see above!!!
I am not here to build for you.
I am here to build with you. Let's help each other.
Bear in mind that your 107.11 might have customised changes (ie core code changes), but for a brand new installation of 107.11 you need TWO minor changes;
Save both files and overwrite. Upload all, following instructions.
It -seemed- to work for me in a brand new installation of 107.11 as I intended it to work. Report back?
You might like to try on your test site before doing the same on live site!!!
Cheers Gary. Will take a look later and try. Its only a temporary fix until the other addons/modules are ready.
I am a bit worried about ecartz answer further down the thread though, even if I dont understand it.
In this case, do as I posted.
We're not worried about having a double step and it means that anything relying on the earlier call will still use it and the one thing that relies on this call will use it.
Again, to be sure; do as I posted and it should work well.
When you eventually update to 107.12 or later, everything will still work as you have changed nothing in the addon.
I am not here to build for you.
I am here to build with you. Let's help each other.
Denzel wrote: ↑Sun Jan 10, 2021 7:13 pm
Looks as "Add to favourites"-button does not work with the Ajax-Buy_button together. If installed the Add-to_favs-Link adds product to cart instead of wishlist. Successfully added to cartmodal pops up an product wents to cart...
EDIT:
works, if in includes/modules/header_tags/ht_ajax_buttons.php line 89 changes selector from
TY, however this solution doesn't seem good... Reason: the ajax cart functionality needs to be on the submit of the form not on the click of the button. The system breaks if you put it on the click of the button, superficially it looks like it works, but I know it won't be working properly.
The wishlist functionality also needs to be on submit of the form; therefore until I get time to have a look/play I would say to use either the ajax buttons OR the wishlist, not both.
I am not here to build for you.
I am here to build with you. Let's help each other.
This was built at v1.0.7.12, therefore it would need updating if a later version breaks it.
I am in the process of updating all the Supporters Codes, but when that would be complete is unknown as there are so many.
I have howevr just installed this on v1.0.8.0 for a quick test, and everything appears to work fine...
I am not here to build for you.
I am here to build with you. Let's help each other.