arthurlam1
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Redirect WooCommerce when users select payment method?Hey Remi,
Thanks for your reply. It seems like the plugin will only work for users who have been logged in as admin.
We are getting real users to test out our site so I doubt using that plugin will work.
Can you help me with the following please?
Question 1: Is there an alternative that will work for all users (instead of just admin?). Or is it instead possible to change where the checkout button links to and just get WooCommerce to change the status to order complete when a certain page is reached?
Question 2: What do you mean by GG tracking code?
Thanks.
- This reply was modified 4 years, 6 months ago by arthurlam1.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce error messages not appearing@aashik Thank you.
Here is the link: https://rebrand.ly/aashik
I think I may know where the error lies. I am not using the default WooCommerce Add To Cart button. Instead, I am using a Custom Add To Cart button with code that adds products to cart. This is why the WooCommerce error messages are not showing up right away.
Is there a way to get WooCommerce error messages to work with Custom Add To Cart buttons?
Thank you.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart rules for different products?Hi there,
I would try something to remove products from cart based on cart content. For example:
https://businessbloomer.com/woocommerce-remove-product-from-cart-programmatically/Please note that we provide no warranty or support for custom code or 3rd party plugins (meaning we cannot not help you further with this code snippet or www.ads-software.com / GitHub plugins). Use them at your own risk.
**Also: Before you do that, please do make a full backup!**
Kind regards,
Thanks @conschneider
Just wondering. If there is a way to add products to cart using URL eg. https://yourdomain.com/?add-to-cart=25
Is there an equivalent way to empty cart using URLs?
Thank you.
just wanted to answer my own question. This can be done by doing this: https://stackoverflow.com/questions/50619490/how-to-clear-the-woocommerce-cart-when-visiting-the-particular-page-outside-of
- This reply was modified 5 years, 1 month ago by arthurlam1.
- This reply was modified 5 years, 1 month ago by arthurlam1.
Forum: Plugins
In reply to: [WooCommerce] Can WooCommerce create these?Thanks alot for your help! Can you please help me with the following too?
You could try to leave these products hidden (changing their “catalog visibility to “hidden”) so they don’t appear in your shop or search pages and then add them to the wanted pages using the available WooCommerce shortcodes. Would that do the trick in your case?
Yes, this appears to work by setting their visibility to Hidden and then using this shortcode to get them to show.
[products skus=”plan1″ visibility=”hidden” columns=”1″]
However, may I know if there is a way to just show the Add to Cart button only (without the border and the price)?
I have tried these two shortcodes:
[add_to_cart_url sku=”plan1″]
[add_to_cart sku=”plan1″]And I got this result: https://i.imgur.com/1Or81UL.png
In case it isn’t clear, what I want to achieve is this: https://i.imgur.com/WrzEszt.png
Unless there’s a plugin that offers this functionality, I think that the only way to achieve it would be by customizing the shop page template to add this additional details (that you can add to the product using one of the existing fields -like its short description- or a custom field) before the “add to cart” button.
If you want to change the text that appears in these “add to cart” buttons, I’d suggest you to use this plugin: https://www.ads-software.com/plugins/wc-custom-add-to-cart-labels/.
I hope it helps!
Thanks, I will look this up.
- This reply was modified 5 years, 1 month ago by arthurlam1.