Woocommerce / Custom Fields
-
I have several issues I’m trying to resolve and haven’t had luck finding instructions or forum details. Thanks in advance for any links or coding suggestions you can help with.
Brief explanation of project – client needs to charge classifieds based on number of characters. Process starts on this page – https://test.cdaonline.org/product/test/
The character counter (a NinjaForms form) automatically selects the package needed by character count and then Ninja redirects to the appropriate Woocommerce product based on the drop-down selector. These are handled by the WPAdverts “Custom Fields” and “WooCommerce Payments” modules.
On the products pages, the proper custom form is loaded in by shortcode to ensure the right Woocommerce product has the correct character count settings on the DESCRIPTION field.
All that is working… incredibly.
Here’s the issues I need assistance with…
* How do I remove the Duration of ad (months) dropdown? It is required to be set and has nothing to do with the purchase. I would like it to be used for someone to purchase an ad for multiple months, especially the option to ongoing subscription (not ending until stopped in the control panel) but I haven’t figured out how to do that. The Duration of Ad drop-down is NOT in the form builder so I’m not even sure how it’s in my custom form. Changing to more than 1 has no impact on purchase price.* Listing Information. I shouldn’t need to set this because the product is created using that ‘listing’ form already. The shortcode is [adverts_add form_scheme=”classifieds-package-1″] and it does pull in the proper form, but then the listing option is still required. I can copy the data from the initial form into the WPAdverts form using $form->set_value but I haven’t been able to figure out how to set that for the listing type and I don’t want customers being able to edit that at all… it defeats the purpose of them going to the Woocommerce packages I created.
Thanks again for any suggestions or links with solutions.
John
DigiparkThe page I need help with: [log in to see the link]
- The topic ‘Woocommerce / Custom Fields’ is closed to new replies.