Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

This is the support forum for the contrib Home or Business Customer.

 

This is my first full mod. I hope you like it.

 

This mod adds a business or home user function when creating an account. Once created, the customer cannot change the type of account themselves, it has to be requested and done through the admin panel.

 

I have also included an optional section in this contrib, which will allow different maximum addresses for home and business customers. This is set through the admin panel, so a home user could be given 2 addresses and a business user could be given 5, for example.

 

The requirement for entering home or business user can be turned on and off via the admin panel, and if the extra addresses part has been installed and the requirement turned off, the max addresses defaults to the home user setting.

 

Screenshots Included

 

The contrib is located at http://www.oscommerce.com/community/contributions,4625

Edited by comclusive
Posted

Ahoi,

 

for what version of osc is your contrib ? i saw the gender markings (just flushing over), but these are included in the latest contrib..

 

Regards

 

Franz

Posted
Ahoi,

 

for what version of osc is your contrib ? i saw the gender markings (just flushing over), but these are included in the latest contrib..

 

Regards

 

Franz

 

 

2.2MS2

 

The gender tags are the search parameters for the contrib additions, they are not added or changed themselves.

  • 5 weeks later...
Posted

I think this is a FAB contrib!!

 

Does anyone out there know of a contribution that can give a discount to different groups ie: home buyer or business buyer?

  • 2 weeks later...
Posted

It would be great if this contribution would allow you to view customers by type. For instance you can view all business customers or view all home customers on different screens. It would also be awesome if it had seperate reporting for each. Is this possible to do?

Posted
It would be great if this contribution would allow you to view customers by type. For instance you can view all business customers or view all home customers on different screens. It would also be awesome if it had seperate reporting for each. Is this possible to do?

 

It's certainly something I could work on, but not until the new year...

  • 9 months later...
  • 1 year later...
Posted

In Home and Business

 

I think your code is great

What i am trying to do is shadow out both company and tva_intracom(in bold) i think i have part2 right but part1 will not shadow both can you please help?

 

part1

 

<td class="main"><?php echo tep_draw_radio_field('usertype', 'h', '', 'onclick=company tva_intracom.disabled=true') . '  ' . HOME . '  ' . tep_draw_radio_field('usertype', 'b', '', 'onclick=company tva_intracom.disabled=false') . '  ' . BUSINESS . ' ' . (tep_not_null(ENTRY_USERTYPE_TEXT) ? '<span class="inputRequirement">' . ENTRY_USERTYPE_TEXT . '</span>': ''); ?></td>

 

 

 

Part2

 

<td class="main"><?php echo tep_draw_input_field('company', '', 'disabled') . ' ' . (tep_not_null(ENTRY_COMPANY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?></td>

</tr>

<!--BOF for VAT INTRACOM_v3.3 //-->

<tr>

<td class="main"><?php echo ENTRY_TVA_INTRACOM; ?></td>

<td class="main"><?php echo tep_draw_input_field('tva_intracom', '', 'disabled') . ' ' . (tep_not_null(ENTRY_TVA_INTRACOM_TEXT) ? '<span class="inputRequirement">' . ENTRY_TVA_INTRACOM_TEXT . '</span>': ''); ?></td>

</tr>

 

 

Thanks Frank

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...