VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: hendrikdebeer on April 18, 2019, 10:51:12 AM

Title: Adding custom info above shopping cart page
Post by: hendrikdebeer on April 18, 2019, 10:51:12 AM
Hi all

Is it possible to add a custom area above the shopping cart page?

My client wants to add a paragraph and a button linking to the local agents page.
Title: Re: Adding custom info above shopping cart page
Post by: jenkinhill on April 18, 2019, 11:35:30 AM
Use a Joomla module?
Title: Re: Adding custom info above shopping cart page
Post by: hendrikdebeer on April 18, 2019, 14:19:23 PM
I can create HTML Module, and I can find the top position...

The only thing is - I don't know where to find the shopping cart page

Is it a module or a plugin?

My head is spinning at this stage trying to find and locate the actual shopping cart page.
Title: Re: Adding custom info above shopping cart page
Post by: jenkinhill on April 18, 2019, 14:57:36 PM
The cart template is built on components/com_virtuemart/views/cart/tmpl/default.php  or if you are already using overrides, Joomla-root/templates/[your-template/html/com-virtuemart/cart/default.php
Title: Re: Adding custom info above shopping cart page
Post by: GJC Web Design on April 23, 2019, 08:39:23 AM
or create a menu ( hidden or otherwise ) to the cart and publish your new module to it