Slider changes in Coffee Theme

113 views
Skip to first unread message

JamesV

unread,
Feb 6, 2018, 10:41:51 AM2/6/18
to XMPie Interest Group
Hi all,

I hope you're well, I'm a relative newbie to XMP having only got involved with it at the tail end of last year, but am beginning to find my way around (ish).

This brings me to my current quandry, I'm trying to swap the images in the slider/carousel on the homepage, I've set up a duplicate of the them which I'm running so I always have a base theme to go back to (much the same as using a child theme in wordpress in my mind).

When I look at the image source for my new duplicate theme's slider, it shows up as "/uStore/Images/Coffee/app/images/header_slide_1.jpg" whereas I'm thinking this should be pointing to somewhere in my 'child theme' folder so would read more like: "uStore\App\CustomerApp\Images\MyNewStore\app\images"

Am I completely barking up the wrong tree here?

Thanks in advance

couch

unread,
Feb 6, 2018, 4:23:51 PM2/6/18
to XMPie Interest Group
As far as i understand, you can change the path to suit your new folder structure.

Dave L

unread,
Feb 6, 2018, 5:10:09 PM2/6/18
to XMPie Interest Group
Once you duplicate the theme and rename the new theme, you'll need to change that path to the new themes name. For instance, if you're working with the theme named Coffee, then your path is correct as you stated it:  "/uStore/Images/Coffee/app/images/header_slide_1.jpg".

If you duplicate that theme under the appearance tab of uStore, you'll have a new name for the theme (let's call it "Coffee_v2" for simplicity). However, your image path in your newly named theme will still point to the images folder of your original Coffee theme. You will need to edit your store-description-en-US.html file in your new Coffee_v2 theme to point at the images folder used by that theme. In this case, you'd want to change that line of code to: "/uStore/Images/Coffee_v2/app/images/header_slide_1.jpg". Then it will be pulling from the images folder associated with your new theme, instead of from the one you duplicated.

That make sense?

You will also need to change the storeId="xxxxxx" and the product group IDs in the config.xml file, as it essentially duplicates all the info when you duplicate a theme.

JamesV

unread,
Feb 7, 2018, 4:54:31 AM2/7/18
to XMPie Interest Group
Perfect, you're a star! I'm sure there will be many more questions to follow, quite a complex programme and not sure 4 days is enough training for a simpleton like me!

Dave L

unread,
Feb 7, 2018, 10:16:16 AM2/7/18
to XMPie Interest Group
No problem. It is quite a monster to dive into but starts making sense once you get used to the quirks. For a basic customization and implementation of that theme, you'll primarily be looking at the these files:

config.xml
store-description-en-us.html
the images folder
ustore.css
logo.png

I hope that helps a bit!

JamesV

unread,
Feb 7, 2018, 10:21:47 AM2/7/18
to XMPie Interest Group
Definitely, thank you. I come from a mixed background, at Uni I trained as a graphic designer, worked as a web designer, and print designer, now in digital marketing for a printers! Some might say jack of all trades, master of none... I wouldn't argue!
Reply all
Reply to author
Forward
0 new messages