Dat Hoang
Forum Replies Created
-
Hi,
I think you can combine your current code and this example https://docs.woocommerce.com/document/remov-product-content-based-on-category/ for your purpose.
It should be something like this:
add_action( 'woocommerce_after_add_to_cart_form', 'htdat_content_after_addtocart_button' ); function htdat_content_after_addtocart_button() { // NOTE: replace your category slugs for 'category-01' and 'category-02' if ( is_product() && has_term( array( 'category-01', 'category-02' ), 'product_cat' ) ) { echo '<div style="clear: both"></div> <div style="margin-top: 10px;"> <a href="/delivery-costs/" target="_blank"><i class="fa fa-truck" aria-hidden="true"></i> Spend £100 and get free delivery</a></div> '; } }- This reply was modified 7 years ago by Dat Hoang.
Forum: Plugins
In reply to: [WooCommerce] HTML Tags showing on Checkout/Confirmation PageHi,
This kind of problem is usually caused by either a conflict with your theme or with another plugin.
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Forum: Plugins
In reply to: [WooCommerce] Add Coupon Code Amount/Description To Email NotificationThis is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the following places for more development-oriented questions:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
Forum: Plugins
In reply to: [WooCommerce] Product import is not workingGlad to hear that you have a way to work on it.
I am marking this as resolved.
You can read more about this on https://github.com/woocommerce/woocommerce/issues/22208
tl;dr: It’s a validation file type error in WordPress core.
- This reply was modified 7 years ago by Dat Hoang.
Hi,
We do not support WooCommerce Memberships here. Here, we’re trying to focus on the WooCommerce core questions.
Could you please contact us at WooCommerce.com > My Account > Tickets? You may need to create an account. We will be able to help you further there.
Forum: Plugins
In reply to: [WooCommerce] Woo Commerce Page Formatting Issue MacBook ProWe haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Forum: Plugins
In reply to: [WooCommerce] Checking credit or debit card usedWe haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Forum: Plugins
In reply to: [WooCommerce] Make InlineHi Shridsan,
You mean you want to display attribute terms (e.g: Single User, Multiple User, etc) into a single line instead of a dropdown?
If so, you can use either this plugin https://wordpress.org/plugins/wc-variations-radio-buttons/ or write your own custom code to override default Woo templates https://docs.woocommerce.com/document/template-structure/
For assistance with customization or development with your site, we recommend reaching out to someone on our [Customizations Page](https://woocommerce.com/customizations/).
Also note that: we do not support for plugins maintained by other developers like “WC Variations Radio Buttons”.
Forum: Plugins
In reply to: [WooCommerce] Hello!Hi,
It looks like you’re using https://woocommerce.com/products/product-vendors/
Link to image: https://cld.wthms.co/vkm9KSCould you please contact us at WooCommerce.com > My Account > Tickets? You may need to create an account. We will be able to help you further there.
Forum: Plugins
In reply to: [WooCommerce] Connection Refused in New VersionHi Rahim,
In https://woocommerce.com/usage-tracking/, there are two sections: pre-3.6 and post-3.6. Please follow the post-3.6 section. In specific, it looks like the following:
In WooCommerce 3.6 – if you no longer wish to share your data with us, go to WooCommerce > Settings > Accounts and Privacy and deselect the checkbox to Enable Usage Tracking.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce uninstalled but is still installed??Hi @urbanmadesounds,
Everytime I try to install it again, it just says ‘destination folder already exists’. I dont know what to do and my business has stalled because of it. Who can go to fix this problem?
There are some possibilities:
1. There is a permission issue with the WooCommerce folder, i.e:
wp-content/plugins/woocommerce.2. The WooCommerce folder still exists on your site but it misses important files to display in WP Admin -> Plugins.
You can use FTP or File Manager, delete the WooCommerce folder, and reinstall it manually by uploading the plugin manually https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation_by_FTP
If you’re not sure how to do that, please contact your hosting provider, ask them to do that.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Min/Max Quantities not workingHi,
I’ve checked both tickets and we reported issues already.
However, they do not get high priority in our queue, which means we have not had any ETA for this yet.
If you’d like to get help for this issue sooner, I suggest contacting a developer in our Customizations Page https://woocommerce.com/customizations/.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Product Size Attributes GlitchHi,
- Can you please go to WooCommerce -> Status -> Logs and see if there is any log, you can find logs starting with
fatal-errors-. - This kind of problem is usually caused by either a conflict with your theme or with another plugin.
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Forum: Plugins
In reply to: [WooCommerce] Connection Refused in New VersionHi @rahimvaziri,
It looks like you’re enabling tracking. Please follow the section “How to stop sharing your data” of this document to disable it: