- This topic has 10 replies, 3 voices, and was last updated 3 years ago by Tom.
April 24, 2018 at 3:38 pm #559554Nick
Hi – I was wondering if you could do me a favor and look at my shop page for a minute. The “add to cart” button under the Trump movie obviously adds the item to the cart, but I want to change it. If a person clicks that “add to cart” button I want to send them to the product description page, the same way that clicking on the picture does. Can we do that?April 24, 2018 at 5:38 pm #559616LeoStaffCustomer Support
I believe you would have to use a WooCommerce filter like this one:
You’d have to check with their support to see how you can link it to the product description 🙂
Let me know if this helps.April 24, 2018 at 5:57 pm #559622Nick
Leo, that looks pretty similar to what I’m trying to do, only I’m trying to set the link to the description page instead of the checkout page. I spoke with Woo and they said they don’t give out code for their plugin, so I was hoping you could help me. Can you at least tell me if I would need CSS or PHP to achieve this goal? Thanks, Leo!April 24, 2018 at 8:44 pm #559709LeoStaffCustomer Support
Sorry WooCommerce said they don’t give out code for their own plugin?
That sounds a bit strange haha
It will definitely be PHP. I would recommend asking on this site: https://stackoverflow.com/April 25, 2018 at 8:14 am #560136Nick
Leo, Woocommerce doesn’t have very good service. Anyway, I noticed Tom gave that other guy some PHP code for his problem. Is there any way that you or Tom could do the same for me? I have Code Snippets installed, so I could just throw the code in there and be done. No problem if you can’t done it, I just thought I’d ask. Thanks for everything…April 25, 2018 at 10:01 am #560225TomLead DeveloperLead Developer
Perhaps something like this might help?: https://businessbloomer.com/woocommerce-remove-add-cart-add-view-product-loop/April 25, 2018 at 10:54 am #560278Nick
Thanks for the link, Tom. I appreciate it.April 25, 2018 at 11:25 am #560299Nick
Actually, Tom, the code on that website doesn’t work. It gives me an error code when I ut it in Code Snippets. Perhaps it’s outdated, or something. Anyway, I’m still stuck…April 25, 2018 at 9:22 pm #560608TomLead DeveloperLead DeveloperApril 26, 2018 at 8:33 am #561092Nick
Thanks, Tom. I really appreciate it…April 26, 2018 at 8:34 am #561093
- You must be logged in to reply to this topic.