VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: j45p41 on August 08, 2014, 04:51:09 AM

Title: Show current cart contents on all pages
Post by: j45p41 on August 08, 2014, 04:51:09 AM
Hi,

could somebody please tell me how I can display an at a glance view of the shoppers cart contents on all pages. I would like to add a module position on the side of my website so the user can always see what they have purchased without having to navigate the cart each time.

Thanks in Advance!
Title: Re: Show current cart contents on all pages
Post by: GJC Web Design on August 08, 2014, 09:53:23 AM
The VM cart module?
Title: Re: Show current cart contents on all pages
Post by: AH on August 08, 2014, 11:01:09 AM
Assign the mod_virtuemart_cart to a position that is always visible and set it to show the product details.
Title: Re: Show current cart contents on all pages
Post by: j45p41 on August 08, 2014, 14:35:48 PM
Many thanks Hutson! Didn't know it was as simple as that!
Title: Re: Show current cart contents on all pages
Post by: AH on August 08, 2014, 19:54:11 PM
 8)
Title: Re: Show current cart contents on all pages
Post by: j45p41 on August 31, 2014, 21:07:32 PM
Hi Hutson,

I have managed to show the cart but I cannot figure out how to:

1. show a delete icon so that items can be removed. Will this be a setting or new php code?
2. I would like to sort products in featured products based on the discount percentage. I notice that a percentage of discount is not held anywhere, would this mean that I will need to create a custom field and then sort by this?
Title: Re: Show current cart contents on all pages
Post by: AH on August 31, 2014, 22:56:40 PM
That would need to be custom php code
Title: Re: Show current cart contents on all pages
Post by: GJC Web Design on August 31, 2014, 23:13:55 PM
or 3rd party cart module with delete code
Title: Re: Show current cart contents on all pages
Post by: AH on September 01, 2014, 12:51:54 PM
but custom code for sorting products  ;)