Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Custom form/fields within Wordpress

  • 02-03-2012 12:04AM
    #1
    Banned (with Prison Access) Posts: 86 ✭✭


    I am new to Wordpress and I am trying to build a new website. I downloaded a theme and I am using a WP-ecommerce plugin.

    When uploading product details I have the option to include a free-text box where the customer can write details.

    However I want to add a custom form/fields to replace this free-text box.

    I have built a form using Formbuilder, which easily installs on each page (except the Products Page :confused:)

    The plug-in has provided the HTML code and instructions to "simply add the following code to your template in the location where you want the form to appear"

    How can I find this location?
    Would really appreciate if someone could help me out. Thanks!


Comments

  • Registered Users, Registered Users 2 Posts: 16,415 ✭✭✭✭Trojan


    It could be tricky to align your Formbuilder form with your custom fields (or it could be easy - I haven't used Formbuilder).

    The way I'd go about this is I'd look for a hook in the ecommerce plugin that allows you add your code to the product page. If you bought it, the authors might be able to provide support.

    If not, then you might be resigned to actually editing the plugin itself - search the plugin code for where the free-text box is output and add your form code there. Rename the plugin so it doesn't get auto-updated (you'll need to manually merge updates).

    Bit messy - best of luck with it.


  • Banned (with Prison Access) Posts: 86 ✭✭pennypitstop


    Bit messy alright, but we will get it :-)


Advertisement