Skip Navigation

[Resolved] integrate EZ form with woocommerce view plugin

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Jeffrey 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#670149

Hello, I am trying to using Woocommerce View with EZ Form Plugin to calculate the product price, this form may be very helpful, according to the documentation, just create a custom field and set value as form ID, but if using it with content layout of Woocmmerce view should not be very simple like that.
The first, as well know, the custom field of Toolset is with a prefix by wpcf, but you can see the documentation hidden link the custom field of EZ Fom is ezfc_form_id, my question is how I can use a custom field to create a custom field, so that I just enter value in back-end without using Toolset? and using the content template to display the field?

Second, the product layout I created with Layout of Toolset, it was created using Woocommerce view plugin default template, so if I apply the same form for multi-products, it will not be shown up.
I saw the documentation of EZ form, you also check that link above, below is the explanation,
If the form is not displayed in the right section of your page, you need to change the value of Global Settings > WooCommerce > Form display hook. A nice overview of compatible hooks can be seen on businnessbloomer.com
Can I display the form everywhere as I need without a hook?, I prefer using a content template to display the forms. And how should I do? Thank you so much!

#671738

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

my question is how I can use a custom field to create a custom field, so that I just enter value in back-end without using Toolset? and using the content template to display the field?
==> Well - I'm not sure what you mean when you say "how I can use a custom field to create a custom field" - what I can tell you is Toolset stores custom field values in postmeta table so you may look at the metakey and metavalue which is assigned to specific post within this postmeta table.

Second, the product layout I created with Layout of Toolset, it was created using Woocommerce view plugin default template, so if I apply the same form for multi-products, it will not be shown up.
==> I think we are talking here about CRED commerce - using CRED commerce you can attach the CRED form to one product at a time.

More info:
https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/

I saw the documentation of EZ form, you also check that link above, below is the explanation,
If the form is not displayed in the right section of your page, you need to change the value of Global Settings > WooCommerce > Form display hook. A nice overview of compatible hooks can be seen on businnessbloomer.com
Can I display the form everywhere as I need without a hook?, I prefer using a content template to display the forms. And how should I do? Thank you so much!
==> Well - I do not have any idea about this plugin - better you consult your plugin support and they will better guide you how you can achieve your goal.

#677099

Ok, let me repeat what I want to say,
I am trying to use EZ form with Woocommerce view to calculate product price, that plugin can be integrated with Woocommerce, in order to take effect, must insert a custom field according to the documentation of that plugin, that format looks like

ezfc_form_id, 

value is the form ID, it can be automatically inserted into the product page if using default Woocommerce template, and will be located to Add to Cart, and replace shopping Cart, but I want to use Woocommerce view, so that I can custom the template of product layout.

1. if use woocoomerce view and custom product layout, the form will not be displayed on the posts, and replace Add to cart. how to replace the Add to Cart, and keep using woocoomcerce view plugin template?

2 . how can I set the

ezfc_form_id, 

with a value as a custom type field? so that I can add the form on the page everywhere I need. I know that the custom field of Types are with a prefix of wpcf, so what I should do to make sure that I can use Toolset to create a custom field working with that custom field of

ezfc_form_id, 

?

This question associated with a custom template of Woocommerce view, but that plugin works with Woo default template, so the author can not help fixing this.

Thank you!

#678354

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I see that "ezfc_form_id" is a custom field name that holds the form ID.

So I would like to know from where you want to associate product with form ID? It needs simply entry in post meta table with metakey 'ezfc_form_id' and metavalue equal to whatever form ID you want to assign to it.

1. if use woocoomerce view and custom product layout, the form will not be displayed on the posts, and replace Add to cart. how to replace the Add to Cart, and keep using woocoomcerce view plugin template?
==> Well - I need to check first how it works without WC views and with WC views. Could you please share access of your site so I can check further and even its possible or not.

2 . how can I set the ezfc_form_id,
with a value as a custom type field? so that I can add the form on the page everywhere I need. I know that the custom field of Types are with a prefix of wpcf, so what I should do to make sure that I can use Toolset to create a custom field working with that custom field of ezfc_form_id,
==> I would like to know at which point you want to set "ezfc_form_id" form ID value?

#695092

I have upgraded my subscription, so please help me with another site, this morning I submitted another ticket for my second site, and had closed it, so that we can concentrate on this thread, thank you !

#701575

I made it, thanks