PDA

View Full Version : How does an imported style know where the style is located?


seventhaxis
12-14-2013, 07:38 PM
Background: I have a style that I'm really comfortable with but is from the now defunct CompleteVB. I want to be able to make variations on this specific style and make several version (e.g. default, christmas, dark, light) so that users can choose they one they prefer. However, I'm having trouble understanding how the imported style knows which folder to pull the images from.

Basically, for this file, there are three simple steps in order to upload it: (1) add products, (2) import .xml, (3) upload files. It immediately works, however I don't know how the theme itself is communicating with VB to pull from a specific directory. Any help is greatly appreciated.

peugeot405
12-14-2013, 07:53 PM
You can set the imagepath in style variable editor.


In admin panel look for styles and templates.
Select style manager.
select style variable editor in dropdown menu next to the style you want to change.
scroll down until you see ImagePaths
change url were needed.

seventhaxis
12-14-2013, 07:57 PM
Excellent! Thank you peugeot!

peugeot405
12-14-2013, 07:59 PM
no problem, glad to help out.