View Single Post
  #4  
Old 07-11-2014, 06:44 PM
ASG222's Avatar
ASG222 ASG222 is offline
Webpartner
 
Join Date: May 2014
Posts: 23
Exclamation

I may have come up with a work around, but could use some guidance on the implementation.


As quick background:

My client doesn't apply straightforward pricing deltas between retail and wholesale, and they want different pricing "fields" to display (I'm repurposing UPC and Brand as price fields) to show up depending on customer type. Further, I'm trying to avoid a scenario of creating multiple versions of the store to avoid sync issues around inventory levels, availability, etc.


What I've done so far:

I've created hidden "root" categories, one for each "customer" type. Under each hidden "root" category I've created a single visible category which serves as the virtual "home" for each version of the storefront. Under each of these single categories, I've replicated the product categories in my store.


So it looks something like this:

h_Retail
Storefront
Category 1
Category 2
Category 3
h_Wholesale
Warehouse
Category 1
Category 2
Category 3


Each product is assigned to corresponding categories in both the Retail and Wholesale structure. In essence, not making any CSS changes, looking at Category 1 under Storefront and Category 1 in Warehouse will yield identical views.


What I want to do now is modify the CSS specific for each Category tree (meaning anything under h_Retail could look/feel different than anything under h_Wholesale).

I see from http://kb.ecwid.com/w/page/46376921/...s%20in%20Ecwid that assigning unique CSS is possible by Category ID.


My question is this: Is the category "structure" or hierarchy preserved or somehow implicitly followed within the CSS, such that a CSS change applied to the Category h_Retail will thereby also apply to Storefront and so forth? Or do I have to include in the CSS each and every corresponding category ID under the h_Retail hierarchy?

If not, is there a recommendation regarding how to most easily/optimally apply the CSS changes to capture all the appropriate categories under a given hidden root category?


I hope this makes sense...

/Chris

Last edited by Chris197; 07-15-2014 at 05:28 AM.