Conditional physical address entry for specific product
-
Among many other digital products, I have a new digital product that has physical bundle that should be delivered to customers. Is there a way to conditionally show address entry option by product id? or any work-around?
-
This topic was modified 2 years, 7 months ago by
Keith.
-
This topic was modified 2 years, 7 months ago by
-
Hey there, @keithkhl! Thanks for contacting us. I’m happy to help you.
As I understand you have many digital products on your store and one that is digital but also has a physical bundle. And you want to know if it is possible to ask for the shipping address on this product, is this correct?
On Woo it is possible to set a product as Virtual, which won’t ask for a shipping address. If you do not mark the product as Virtual it will ask for the shipping address.
So if you want all products to be Virtual but one, you can mark all products but this one as Virtual and the system will ask for a shipping address for it.
If what you want is to have the option on the same product to purchase either the virtual or physical edition, you can create a Variable product. This way you will be able to set each variation as Virtual or not.
You can find more about this in this guide.
I hope this was clarifying. If you face any issues or have any questions, please let us know so we can assist you further.
Have a wonderful day!
For the record, all virtual products have that virtual tick turned on. The checkout page has a default block setting that has all entries (full address, first/last name….)
For my case, address, first/last name…. these entry blocks (or shortcode’s entries) have to be conditionally loaded, but it is not affected by my choice of product type, be it virtual, dowmloadable or not.
-
This reply was modified 2 years, 7 months ago by
Keith.
Since I am not using typical payment gateway, one way to solve above issue is to conditionally enable payment options (credit card, paypal, apply pay…)
-
This reply was modified 2 years, 7 months ago by
Keith.
Hi there @keithkhl 👋
To get an idea of how your site is configured, could you please share a copy of your site’s System Status, as exemplified here? Once you’ve done that, paste it here in your response.
Looking forward to hearing from you!
Plz see the attached report – FILE
Just to share what’s going on from my side, I have a country specific gateway plugin that connect local payment modules to woocommerce.
Local payment modules, such Paypal, Stripe, are in competition, and they vary requirements for payment. For example, for subscription billing, each payment modules require different values. One company asks a customer’s cellphone number, while another company asks officially registered name. For digital non-subscrible products, each of them also require different information. So are physical products.
For me, the most ideal case is simply rely on one payment module, and vary checkout billing form depending on products. If it is impossible, or takes too much effort, a possible workaround is to have multiple payment modules, and assign different products to different modules.
I have found multiple plugins that claim it is possible to have different billing field requirements for different products, but wonder if there is a way to handle it at code snippet level.
Hope my intention is clear.
sorted out most of lingering issues. What’s left is conditional payment option to product type. For subscription products, payment method has to be, in my country specific way, ‘Subscription Payment’ that requires extra verification from both the shop and the customer, and for all other products, I simply need to call up other usual payment options, like credit card, bank transfer, apple/samsung pay…
Hey @keithkhl,
sorted out most of lingering issues.
That’s great to hear!
What’s left is conditional payment option to product type. For subscription products, payment method has to be, in my country specific way, ‘Subscription Payment’ that requires extra verification from both the shop and the customer, and for all other products, I simply need to call up other usual payment options, like credit card, bank transfer, apple/samsung pay…
While custom code is outside our scope of support, one way to achieve this would be to use conditional logic to restrict the payment options available on your store.
The Conditional Shipping and Payments extension can do the trick. With this extension, you are able to conditionally restrict or hide payment gateways by product or product category.
WooCommerce.com offers a 30-day refund policy which you can take advantage of, allowing you to test the extension, and make sure that it suits your needs.
Should you have any pre-sales-related questions, kindly contact us directly at WooCommerce.com → My Account → Support. You will need to create an account if you do not have one already.
On the other hand, if you prefer the customization route, we have our developer resources portal that can help you get going, so I would recommend checking it further if you need more help with this:
https://developer.woocommerce.com/
Another option is to check our customizations page to hire an expert who can create a custom solution for you:https://woocommerce.com/experts/
Hope this helps!
Thx for the great support @beautyofcode
Indeed that looks like a working solution for me. Should’ve searched Woo store before dropping questions to here.
I’m glad we were able to help, @keithkhl!
If you have a few minutes, we’d love if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/
Cheers!
Yup your team certainly deserves 5 star review!
-
This reply was modified 2 years, 7 months ago by
The topic ‘Conditional physical address entry for specific product’ is closed to new replies.