comclusive Posted October 26, 2006 Posted October 26, 2006 (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 October 26, 2006 by comclusive Quote
Guest Posted October 26, 2006 Posted October 26, 2006 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 Quote
comclusive Posted October 26, 2006 Author Posted October 26, 2006 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. Quote
Guest Posted November 26, 2006 Posted November 26, 2006 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? Quote
crash3903 Posted November 26, 2006 Posted November 26, 2006 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? have you searched the contribution section Quote Regards Mark A Reynolds
candlesofeden Posted December 6, 2006 Posted December 6, 2006 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? Quote
comclusive Posted December 7, 2006 Author Posted December 7, 2006 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... Quote
litaliacool Posted September 9, 2009 Posted September 9, 2009 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 Quote
Recommended Posts
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.