[resolved] Multiple Extra Fields in Checkout - Eshop Extras (2 posts)

  1. sanchy.com
    Posted 2 years ago #

    Hello, thanks a lot for reading.

    I've already created an extra field in the checkout. Now I'd like to create a new one.

    I was wondering. Should I duplicate de functions on eshop extras, should I install the plugin over again with another name?

    Would you guys please point me in the right direction?

    Thank you a lot


  2. sanchy.com
    Posted 2 years ago #

    To create 2 or more Additional fields, this is what I did:

    Created a new Copy of "eshop-extras" plugin, and changed the folder name and the plugin name (plugin name at firts lines on the .php file).

    On the .php file:
    Change every instance of "eshop_extra" for "eshop_extra2".

    Activate the "new" Plugin in WordPress Admin

    Voila! New field added on database, checkout form and every other place.

    Hope it helps someone else.

    Have a nice day!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • eShop
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic