VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: b.golemba on October 13, 2016, 10:13:30 AM

Title: Cart Module doesn't display styling after adding product
Post by: b.golemba on October 13, 2016, 10:13:30 AM
Hello, I'm having problem with VirtueMart Cart Modules (that one which is set-up on right side of page with list of products added to cart). When I click add to cart, cart is reloading and adding product (thats work properly) but when it's realoading cart loses itself styling (put simple <hr> line in code to divide products), after refreshing page everything back to work.
Please tell me someone what to do to keep styling during reload.

My VirtueMart version: 3.0.18
Joomla version: 3.6.2
Title: Re: Cart Module doesn't display styling after adding product
Post by: jenkinhill on October 13, 2016, 12:48:05 PM
Template/js problem? Without a URL nobody can say.
Title: Re: Cart Module doesn't display styling after adding product
Post by: b.golemba on October 13, 2016, 13:00:21 PM
I can't give you url because I'm testing VM on my local machine, the only thing that can I say it's that after displaying modal pop-up, whole styling in VM - Shopping cart module disappear
Title: Re: Cart Module doesn't display styling after adding product
Post by: GJC Web Design on October 13, 2016, 13:52:00 PM
possibly add the hr also to the dummy div in the cart mod template as well .. above the display div
Title: Re: Cart Module doesn't display styling after adding product
Post by: Studio 42 on October 14, 2016, 00:30:38 AM
I think you use two templates or 2 template style , with two diferent layout overide ?
Title: Re: Cart Module doesn't display styling after adding product
Post by: b.golemba on October 19, 2016, 12:29:42 PM
It's impossible because I used template override to default template.
EDIT: Problem solved, I added hr in div with quantity and it worked.