Developer forum

Forum » Swift » Swift 1.21.0 ecommerce badges

Swift 1.21.0 ecommerce badges

Marie Louise Veigert
Reply

Hi,
I have tried to add a campaign bagde on a Swift Solution version 1.21.0

Im using it on components for detailpage + productlistcard.
I have cleared cache + 'preview' page on the badge page under Swift Tools -> Design -> Ecommerce badges.

I have selected it on the custom select on the product.

I have selected it on both of the components.
The ID match the component selected on the badge paragraph item.

Its shown now but not before after some time.
On the ecommerce badge page it looks like this:

 

Before it was shown on the product page the html was present but the styling didn't seem to load even though I have preview'et ecommerce badge + cleared cache and deleted "_parsed" files.

Am I missing something to make the changes to be shown right away? 
It seems weird the badge isn't shown on the overview (last screenshot)

BR Marie Louise


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

After you preview the badges page, what do you have in this folder?

/Files/Templates/Designs/Swift/_parsed/Swift_css/Swift_ecommerce_badge_styles_{Model.Area.ID}.css

It can be write permissions to the Swift folder or one of the subfolders.

Where is the solution hosted?

 
Marie Louise Veigert
Reply

I have files in the folder.

It's hosted on a seperate server (not DW Cloud).

Looks like it write to the folder without issues.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

yes. So what is inside the badge_styles file - and is the same css in swift_styles file?

 

You must be logged in to post in the forum