Dat Hoang
Forum Replies Created
-
Thanks Gordon.
I’ve tested WooCommerce PayPal Checkout Gateway 1.6.11 and WooCommerce 3.6.1 and confirmed this issue.

I’ve reported this issue here https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/558
Forum: Plugins
In reply to: [WooCommerce PayPal Checkout Payment Gateway] Recurring payment failedHi,
How do you set up to handle recurring payments?
Are you using WooCommerce Subscriptions or use another plugin?
- If you’re using WooCommerce Subscriptions, please follow [this guide](https://docs.woocommerce.com/document/paypal-express-checkout/#section-17). Otherwise, 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.
- If you use another plugin, that means WooCommerce PayPal Checkout Payment Gateway does not support your types of recurring payments.
Hi,
Sorry for the late response.
Have you checked the box
Require Billing Addressin the PayPal Checkout setting page in WP Admin?Note: This feature must be enabled on your Merchant/Business account after contacting PayPal. Otherwise, a notice appears that: “Require Billing Address has not been enabled by your account and has been disabled.”
Reference: https://docs.woocommerce.com/document/paypal-express-checkout/#section-6
If the issue persists, can you please let us know the site you’re using so we can have a look?
Hi,
As I understand, you’d like to customize the small PayPal in the checkout page like the following screenshot?
Link to image: https://cld.wthms.co/Xm3dmsThis image is defined here.
To change this image, you need to use the
woocommerce_gateway_iconfilter instead (code):add_filter ( 'woocommerce_gateway_icon', 'htdat_change_gateway_icon', 10, 2 ); function htdat_change_gateway_icon( $icon, $gateway_id ) { if ( 'ppec_paypal' == $gateway_id ) { //Change the URL of your own icon here $icon = 'my-own-icon.png'; } return $icon; }Forum: Plugins
In reply to: [WooCommerce PayPal Checkout Payment Gateway] MalfunctionedWe 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 PayPal Checkout Payment Gateway] Sandbox ModeWe 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.
Hi,
As I see, you did set up it the setting on your site correctly.
However, it seems you’ve not set up this feature on your own Venmo app. The Venmo button will only display for connected browsers only:
* https://docs.woocommerce.com/document/paypal-express-checkout/#section-9 – please follow the part after “If a customer wants to pay with Venmo, or you’d like to test this yourself, follow along.”
Forum: Plugins
In reply to: [WooCommerce] add-to-cart link not working on 3.6.0 for not logged in usersThanks Timmy and everyone involving here.
This issue was fixed in 3.6.1 – https://woocommerce.wordpress.com/2019/04/18/woocommerce-3-6-1-release/
I am marking this topic as resolved. Feel free to create a new topic if you have any other issues.
Forum: Plugins
In reply to: [WooCommerce] Disabling the following messageHi,
I’ve tried to craft this snippet. It’s not perfect but I think it may help somehow. You can use this plugin to add those snippets https://wordpress.org/plugins/code-snippets/
function htdat_disable_error( $message ) { // Check if the disabled message exists. If yes, set it to null if (strpos( $message, 'has been removed from your cart because it can no longer be purchased. Please contact us if you need assistance.') !== false) { $message = null; } return $message; } add_filter( 'woocommerce_add_error', 'htdat_disable_error' );—-
Reference:
* This string is here https://github.com/woocommerce/woocommerce/blob/b7971bd0dcad2ef9bd9fd39f711eff6d941e1497/includes/class-wc-cart-session.php#L133
* I am trying to hook into this filter https://github.com/woocommerce/woocommerce/blob/babfacd6bb41d8ae937abeb0383854e58603ff64/includes/wc-notice-functions.php#L85Forum: Plugins
In reply to: [WooCommerce] Change additonal info titleHi,
As I understand, you’d like to change the translation of original string
Additional information?(I found this file by searching
woocommerce-additional-fields)A simple way is to use
Say What?plugin https://docs.woocommerce.com/document/woocommerce-localization/#section-10- This reply was modified 7 years ago by Dat Hoang.
Forum: Plugins
In reply to: [WooCommerce] Article description problemHi,
I am sure what you mean
blockhere? Is it a block in the new block editor https://wordpress.org/support/article/wordpress-editor/?Can you please take a screenshot for the
descriptionsection in WP Admin, in which you’re updating in the test block of https://www.maranelli.it/?post_type=product&p=2476&preview=true ?Forum: Plugins
In reply to: [WooCommerce] displays total instead of single priceHi,
I’ve tested an order on my site and it looks correct.
Link to image: https://cld.wthms.co/9vhbus1, Can you take a screenshot to show the error? I recommend https://snag.gy for easily sharing screenshots – please follow the instructions on the page, then paste the URL in this chat. It works with Chrome, Firefox and IE.
2, 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] Get terms of attribute as linksHi,
I do not find a way to do this without a custom code.
If you can write code, you can use this function https://developer.wordpress.org/reference/functions/wp_list_categories/
An example:
wp_list_categories( array( 'title_li' => 'Color', 'orderby' => 'name', 'taxonomy' => 'pa_color', ) );You can replace
colorin thetaxonomyparameter with your attribute slug.- This reply was modified 7 years ago by Dat Hoang.
Forum: Plugins
In reply to: [WooCommerce] Repeat PayPal Express Button on Product pageHi,
I can repeat the add to cart button inside a promotional page of the product?
For what you need, I think you just need to use the built-in
[add_to_cart]shortcode.* https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-15
Forum: Plugins
In reply to: [WooCommerce] Adding a special product attribute to the [products] shortcode.Hi,
I’ve tried testing this snippet, I hope that helps.
In fact, you need two parts:
1. Support your own attribute for the
[products]shortcode.
2. Modify the query to use your $query_args.// https://developer.wordpress.org/reference/hooks/shortcode_atts_shortcode/ // Add the code to support your own attribute add_filter('shortcode_atts_products', 'htdat_shortcode_atts_products', 10, 4); function htdat_shortcode_atts_products( $out, $pairs, $atts, $shortcode ){ if ( isset ($atts[ 'customers_best_selling' ]) && $atts [ 'customers_best_selling' ] ) { $out[ 'customers_best_selling' ] = true; } else { $out[ 'customers_best_selling' ] = false; } return $out; } // Modify the query args // See another example https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-11 add_filter( 'woocommerce_shortcode_products_query', 'htdat_woocommerce_shortcode_products_query', 10, 2 ); function htdat_woocommerce_shortcode_products_query( $query_args, $attributes ) { if ( $attributes[ 'customers_best_selling' ] ) { // write your own $query_args here // Example: $query_args[ 'post__in' ] = array (1027, 959); } return $query_args; }- This reply was modified 7 years ago by Dat Hoang.