Reputation: 3
WordPress: Version 4.4.2 Shopp Plugin
I Need to add a user defined field to add product in Shopp plugin WordPress which will be used for XML generation and further for communication with one of the Payment Gateways. Tried for clues surfing online but didn't find any.
Any help would be appreciated.
Thanks.
Upvotes: 0
Views: 93
Reputation: 3925
If you want to add fields to the checkout form that are specific to the payment gateway that is used you could take a look at this filter
This should be added to payment gateway file you are creating.
If you are looking for collecting additional order info on the checkout page you could use this bit of code
This should be added to checkout.php.
If you are looking for collecting additional customer info on the checkout page you could use this bit of code
shopp('checkout.customer-info')
This should be added to checkout.php.
Upvotes: 0