Shipping Address Fields Called For A Digital Product
-
Is it possible to have an option which negates/hides or removes the Billing Info fields for a non physical or digital product?
View the form and fields here >>>> Click HereMany Thansk
The page I need help with: [log in to see the link]
-
Thank you for reaching out to us. The following is an example code snippet added to your functions.php file that should hide the fields:
function custom_hide_fields_override( $amount ){ return 1; } add_filter( 'wpec_hide_billing_info_fields', 'custom_hide_fields_override' );
Let me know if this helps you.
Kind regards.
Hi!
Works well apart from email and name fields are now also hidden and also……Paypal Button is displayed to complete the Ā£0.00 order.
https://plantbasedrunners.com/vegan-blog/wpec-payment-box/?product_id=1513
Many ThanksI’m happy if it’s possible to simply restore the name field and email field only……. and the keep paypal button to complete free checkout…..if that is easily doable š
I have submitted a message to the developers to investigate further your request.
Kind regards.
Hi, Looks like you are using the following feature (correct me if I am wrong):
https://wp-express-checkout.com/free-product-checkout-process-100-discount/
This $0 product checkout features requires some details for the manual checkout so our plugin can create an order object.
We will try to make an enhancement to this feature so that for digital products, it doesn’t require and show the address fields.
Hi,Yes that’s correct, it’s for a free digital product that doesn’t require a physical billing address, but where a name and email is ‘required’ only.Many Thanks
Please try the new update that we released today. It should solve this.
Remember to undo any custom changes you applied previously.
Hi,
Updated plugin.
Now email and name fields are hidden as the default display.
You can see here
https://plantbasedrunners.com/vegan-blog/wpec-payment-box/?product_id=1513
Any custom /function.php call ups were deleted.
Many Thanks
Is there any caching on this site?
I can’t see the behavior on your site since I don’t have the 100% discount code. Can you make a test coupon code that I can use to see the behavior?
On my site it works fine.
Hiya,
I’m testing it on a non caching PC just now. The form ID is 1513 or
https://plantbasedrunners.com/vegan-blog/wpec-payment-box/?product_id=1513
Do you need me to re-create the product?
just recreated product under new product _id=1753
Still has same display, does not show email or name fields.
It’s odd that it’s displaying correctly at your side.
Thank you
The product doesn’t seem to have a price specified? You can’t use a $0 price for a normal product since that is not a valid product amount. You have to enter a price for the product then you can offer a 100% discount coupon to offer the product for free to some users (with the coupon).
The following documentation explains how this feature works:
https://wp-express-checkout.com/free-product-checkout-process-100-discount/
This is a payments plugin so there has to be a product price for something to be a valid product. Maybe you are using our plugin for an incorrect use case.
If you are looking to offer just free downloads, you should explore a download manager type plugin like our following one:
Hi,
Set price to £ 0.01 with 100% Discount Coupon
This did not impact the fields displayed in the checkout.
I’m guessing this issue is fairly binary (or could warrant the no billing detail option?):
- Physical product (delivery address required)
- Digital product (no delivery address required) Or
3. Combination of physical and digital product (?)
Would there not be an advantage to only having email and name fields for a free, 100% coupon code, digital product? I’m thinking this would be a useful option to have on the plugin (?)
Thank you
The following screenshot shows what I see on my site when I apply a 100% discount code to a digital product:
You didn’t share a 100% free discount code that I can use to test your product’s page to confirm if you are seeing an effect of caching or some kind of conflict on your site.
Hi,
Yes the location of the actual button and product page is:
https://plantbasedrunners.com/vegan-blog/ppec-products/free-natural-biohacking-mini-ebook/
Many Thanks
- The topic ‘Shipping Address Fields Called For A Digital Product’ is closed to new replies.