Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Woocommerce - Checkout form help needed

Featured Replies

Hi,

I hope this is in the correct place and someone could advise.

I currently design and run our local motorclub website.  

My issue is that as a motor club using online entry we collate a lot of none standard "Woocommerce" items such as Car Model, engine capacity etc that needs to be collected at the time of the customer purchasing an entry to our event.  See below.  To facilitate that I use Woo Checkout Field Editor Pro to add none standard fields.

However, I also want to use Woocommerce to "sell" other items which will not need the extra fields.  Infact, just name address, email address would be fine.

I don't seem to be able to configure checkout to not force the customer to enter the extra fields that aren't required when simply buying a book about the club.

Is there a way around this ?

 

Thanks
Mark

 

 

 

 

 

checkout_entry.JPG

Edited by mcmrc
Left my details in the screenshot !

Welcome to the forums.

A solution would be to check if the product that requires the car data fields is in the cart. If it is then show the fields, if not don't show them.

You'd have to do this programatically via some PHP, I'm no WP expert but it's straightforward in other CMS's I use.

 

 

12 hours ago, BlueDreamer said:

A solution would be to check if the product that requires the car data fields is in the cart. If it is then show the fields, if not don't show them.

Was about to say the same thing. A simple column in the product table should suffice, e.g. extra_req, maybe use an int set to 0 as default and then mark products which need the extra details with a 1. Then if any products in the cart which have a extra_req = 1 you can include the additional information form.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.