direktor05
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fields 2Thanks for your replies. Found the answer:
– use CPT UI
– use ACF
– use ElementorThanks all. You have been very helpful and talkative.
Regards, Bogomil
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fields 2Actually adding Supplier should be part of back-end. I’m trying to crystallize in my mind how to do it. I’d need to create a back-end new page with back-end new custom fields. Can this be done and how? Only 1 field would be shown in front end – the supplier name added to the products display page.
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fields 2Here is a similar plugin to add products, I want to add suppliers the same way
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fields 2So here is another question. How to add Submit button on a form and tell WordPress you want to save this form into this and this field, to be picked up later by the custom fields?
Adding a form and Submit button is easy, action=save.php where save.php would have Woocommerce wp_insert_post command in it telling it where to save the form in the database.
But I have a feeling this would not be so easy. Would Woocommerce be able to pick up this code and execute it?
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fieldsYes please someone help me out. I need a tutorial. I think it’s not only about template change. Template is only the View part in MVC. I need a tutorial on how to change the other 2 also.
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fieldsAs I checked my database now, I don’t see any table containing supplier information. So it would have to be created. This would be my new customs fields. Where to start? I think this would require going deeper, not just calling some functions and hooks.
Forum: Plugins
In reply to: [WooCommerce] Woocomerce – new page with custom fieldsHello, Thanks. We are getting closer but not quite… I checked your link. It talks about how to add custom fields to My Accounts page… where I have to select fields (gives me a list of fields I can add – I really don’t like this) to add. I don’t want this. So…. I want to create a totally new page “Suppliers” with the following fields: Supplier Name, Address, Country, ContactPerson, website, telephone, email, instantmessaging, links, remarks, all text fields. I think Woocommerce does not have this fields already existing to choose “from a list of custom fields” to add them to one page. This is really limiting. I want to
1. Add new table with new fields to database
2. This newly added database fields will be my new custom fields to add to new pagePlease don’t tell me this would require rewriting half of the Woocommerce code.
Seems Woocommerce is all about dealing with things that are already there, adding them to pages… but I want to create custom fields from creating new table fields first. Where do I have to start?