1. If you're using the built-in group discount pricing, there is already a line item (Pricing roup) that shows the group assigned to a customer in Admin - Customers - Customers.
2. I think you'd need to write some code for that.
1. If you're using the built-in group discount pricing, there is already a line item (Pricing roup) that shows the group assigned to a customer in Admin - Customers - Customers.
2. I think you'd need to write some code for that.
Stevesh - Thank you for the response! Here is the few problems I face with using the group discounting:
- I will have my "Pro" users in several groups with different names (IE one group may be named "Pros", one group many be named "Invoice" [since I'm using the pay via invoice payment option module], another group may be named "Tax Exempt"
Also, some of the members of the groups that pros will be in are not actually pros (IE they may be in the "Invoice" group because I allow them to pay via discount - but I don't want a pro logo showing up).
Thanks!
NWFAP
This would mean that the discount group is unusable for distinguishing the logo to be shown. Either you will have to not show the pro logo for the ambiguous group, or create another database customer field for identifying pros.some of the members of the groups that pros will be in are not actually pros
Alternatively, you could make two "Invoice" groups, one for pros and one for others. They can have the same conditions and rates, and nobody needs to know that there are two organizational groups.
The logo is output by /includes/templates/your_template/common/tpl_header.php, so that would be a good place to insert switching code.
GJH - Thanks for the response! My plan was to add a customer field for identifying pros - I remember seeing an add-on to do this - do you know of an add on that allows me to do so?
Alternatively, you could make two "Invoice" groups, one for pros and one for others. They can have the same conditions and rates, and nobody needs to know that there are two organizational groups.
Thanks this is the location I needed to know!
Another good location to edit would be /includes/languages/english/your_template/header.php. Wrap a test around this and make alternates as desired:PHP Code:// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'TagLine Here');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');
Look in Free Addons for a mod for additional customer fields, if you want to go that route.
If you want to use discount groups, you can test for the customer id being in any one of a number of specified group ids.