BuddyForms / BuddyForms-WooCommerce-Form-Elements

This Plugin adds a new section to the BuddyForms Form Builder with all WooCommerce fields to create Product creation forms for the frontend
GNU General Public License v2.0
3 stars 3 forks source link

Hide shipping fields option isn't hiding the proper fields #51

Closed njota08 closed 5 years ago

njota08 commented 5 years ago

Steps to reproduce

  1. Click on BuddyForms
  2. Click on Add New or select a product post type previously created
  3. Select a WC Simple Product post type template
  4. Select the WooCommerce tab
  5. Click on the "Shipping" tab
  6. In the field "Hide Shipping" mark the check box "Hide Shipping fields and set default hidden values ."
  7. Type down the default values for weight, dimensions and select the shipping class.
  8. Save and Publish your form
  9. Click on Preview Form

Expected result: The form preview should be displayed and if the user navigates to the Shipping Tab, the weight, dimensions and shipping class should not appear. Or the entire Shipping tab should not appear, give me a hand here please.

Actual result: The form preview is displayed but the "Shipping" tab isn't hidden and the weight, dimensions and shipping class fields are visible.

See screenshots below:

image

image

njota08 commented 5 years ago

Tested, fixed and closed.