June 3, 2019 at 4:41 pm #1106748
I am using the product slider to show highlight products on my site. But I want to add an ADD TO CART button bellow it, kinda like this:
Is there a way to add this? So the user won’t be need to click on the product to add to cart, but will be able to add to cart right from the front page.
ThanksJune 8, 2019 at 4:26 am #1108369June 10, 2019 at 4:53 pm #1108847
Hi Mike, thanks for your answer.
I’ve added the code on my functions.php but I don’t see any button or link.
Can you give me a hand with this?
ThanksJune 12, 2019 at 12:17 pm #1109457June 17, 2019 at 3:44 pm #1111035
Hi Ismael, thanks for your replay.
I’ve added it as you said but, sadly, the buttons aren’t showing up.
Is there anything else I can do?June 20, 2019 at 3:16 am #1111787
Please include an admin login in the Private Content area, so we can examine closer.
MikeJune 21, 2019 at 2:02 pm #1112333June 22, 2019 at 3:45 pm #1112579
Thanks for the login, have you tried disabling your plugins to rule out a conflict? Can we try temporarily?
Typically the JetPack plugin loses it’s settings when deactivating, and perhaps your WPML addons will too, so I wanted to confirm that this testing will be ok with you.
We also have a beta version with many fixes that help, but we will need ftp access to try, can you include ftp access in the Private Content area so we can be of more assistance?
MikeJuly 10, 2019 at 2:44 pm #1117479July 11, 2019 at 11:16 am #1117750July 11, 2019 at 3:54 pm #1117831
I’ve disabled all the plugins minus the woocommerce ones, but the button doesn’t shows upJuly 15, 2019 at 1:38 am #1118637
Thank you for the update.
The button should display even without the modification above as long as the product type is set to simple. Is that the case in your site? Are the products set to a different type?
IsmaelJuly 15, 2019 at 2:16 pm #1118778July 18, 2019 at 6:58 am #1119794
Thanks for the update.
Can we access the site without adding it to our hosts file? I tried logging in but the wp-admin redirects to or displays a 404 page.
IsmaelJuly 18, 2019 at 7:02 pm #1119977July 19, 2019 at 12:36 pm #1120159
Thank you for the update.
The filter above actually works. We added it in the functions.php file.
IsmaelJuly 19, 2019 at 3:55 pm #1120236
Thanks for the help. I’ve fixed the line height of the products title.
I think I got what was wrong – I’ve inserted the codes in functions.php which is on the Wp root folder, but it seams that you’ve added it using the Wp editor, which seams to be a different file.
In which one I should insert the codes from now on?
Also, how can I change the button text? I have a code into functions.php to change those texts, but for those buttions, they are getting the default “buy” text – and in our site, the customers will only ask for quotes.
ThanksJuly 21, 2019 at 4:02 am #1120553
I tried to check your site but I found the product buttons say “Pedir orçamento” is this correct?
MikeJuly 22, 2019 at 3:13 pm #1120863
Yes, that is correct. Maybe it was a cache thing.
Thanks for all the help. You can close this topicJuly 22, 2019 at 3:44 pm #1120889
The topic ‘Product slider with add to cart buttons’ is closed to new replies.