I'm planning on using uCommerce to drive a catalog for a support portal, as it allows products to be applied to multiple products, which is a perfect fit.
One thing the client wants is to have different prices - one for them (ie. cost price), one for dealers, one for customers etc.
Am I right in thinking all I need to do is create these 3 price groups, then they can enter them against each product?
If that's right - then am I correct in saying that within my Razor script all I have to do is look at the role the user belongs to, then select the appropriate price to display? I've worked out how to do this using the API (I think!) but just wanted to be sure that this is the right path I'm taking before getting in too deep.
Also, I'm slightly confused by the category restriction for the name. The client is keen on setting up the categories in the following manner :
Model > Sub Category > Sub Category > Detail Category > Detail Category > Detail Category
Then under the Detail Category having the appropriate parts show up. In terms of actual data example, here's one :
ABC123 (the Model) > Superstructure (the sub category) > Spare Parts (detail categories) > Brake components
The problem I have is they really, really want the model to be the top level, instead of what I suggested which was Superstructure > Brake Components > ABC123 - so the problem I've got is when adding the other models (there's 10 - so they're the root level), if I try to add the same sub category name to it (ie. Spare Parts) uCommerce states that I cannot add a category with the same name.
This I'd understand if it was on the same level under the same parent, but not if it was in a completely different parent.
How should I go about tackling this - I did think of giving the subcategories unique names then setting the Display Name to the correct value - but then that'd make the tree look a bit odd (ie. ABC123-Spare Parts, ABC456-Spare Parts etc).
Thanks very much in advance - I'd really appreciate the advice.
Price Groups + Categories
Hi!
I'm planning on using uCommerce to drive a catalog for a support portal, as it allows products to be applied to multiple products, which is a perfect fit.
One thing the client wants is to have different prices - one for them (ie. cost price), one for dealers, one for customers etc.
Am I right in thinking all I need to do is create these 3 price groups, then they can enter them against each product?
If that's right - then am I correct in saying that within my Razor script all I have to do is look at the role the user belongs to, then select the appropriate price to display? I've worked out how to do this using the API (I think!) but just wanted to be sure that this is the right path I'm taking before getting in too deep.
Also, I'm slightly confused by the category restriction for the name. The client is keen on setting up the categories in the following manner :
Model
> Sub Category
> Sub Category
> Detail Category
> Detail Category
> Detail Category
Then under the Detail Category having the appropriate parts show up. In terms of actual data example, here's one :
ABC123 (the Model)
> Superstructure (the sub category)
> Spare Parts (detail categories)
> Brake components
The problem I have is they really, really want the model to be the top level, instead of what I suggested which was Superstructure > Brake Components > ABC123 - so the problem I've got is when adding the other models (there's 10 - so they're the root level), if I try to add the same sub category name to it (ie. Spare Parts) uCommerce states that I cannot add a category with the same name.
This I'd understand if it was on the same level under the same parent, but not if it was in a completely different parent.
How should I go about tackling this - I did think of giving the subcategories unique names then setting the Display Name to the correct value - but then that'd make the tree look a bit odd (ie. ABC123-Spare Parts, ABC456-Spare Parts etc).
Thanks very much in advance - I'd really appreciate the advice.
Tony
is working on a reply...