Developer forum

Forum » Swift » Minicart Buttons

Minicart Buttons

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi,

Is there anything special I need to configure to have the MiniCart buttons get the Style set on the website? 

This is a Swift 2.1 Site on 10.17.9 and the buttons keep the default Swift style instead of the selected style on the site:

 


Replies

 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Anyone? I thought maybe I needed to set a colourscheme on the CartService page, but that also does not change the button colour on the minicart...

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Justin 

Sorry for the delayed reply. I investigated this, and there certainly is a bug. I guess the expectation is that the colorscheme selected in website settings, should be the one in general use.


I have created bug #25768 to look into the issue. To make a quick fix, you colud go to Swift-v2_Page.cshtml and add the colorscheme to the offcanvas in line 77 and to the modal in line 68
data-dw-colorscheme="@(Model.ColorScheme?.Id ?? Model.Area?.ColorScheme?.Id)"


Best regards 
Karsten Thuen

 

You must be logged in to post in the forum