"become a partner" on 1 of 2 registration forms

  • Posts: 21
  • Thank you received: 3
9 years 3 months ago #183551

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3
-- PHP version -- : 5.4

I have set up a page on my site that uses the hikashop menu item type "registration form." I want this form only to be used for people who would like to become a partner.

1. Is it possible to have this form add users to the affiliate program automatically without having to include the "become a partner" checkbox

2. If not, can the "become a partner" checkbox, with a default value of yes, be shown only on this form, but not on the registration form during the checkout process?

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
9 years 3 months ago #183579

Hi,

You can do point 1.
For that, have that checkbox displayed and selected by default with the corresponding options of the Affiliate section of the HikaShop configuration, and then, just add such CSS in order to hide it in the registration form:
.hikashop_registration_affiliate_line{ display:none; }
That way, new users will be partners automatically.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum