VIRTUEMART: Styling the left side bar cart
The PHP file can be found here:
/components/com_virtuemart/themes/default/templates/common/minicart.tpl.php
The PHP file can be found here:
/components/com_virtuemart/themes/default/templates/common/minicart.tpl.php
Listen sometimes its the little things that php experts can forget but unfortunately these thing can be the fundamentally most important aspect of the website.In relation to an online shop its buy the product and the add to cart button is the backbone of this.
I used your code and it now looks much better as I used a gif image with text. Keeping it very simple or as simple as possible without any alterior motives is the only way to promote any website if that website wants longevity or in the future finacial compensation.The internet is littered with websites who hint at helpng you but ultimately you are directed to a payment system of sorts.For me they are the most annoying websites on the internet and I really don’t care who they belong to.
So, in other words I found your article extremely helpful and fair play to you for keeping in short and to the point.
PS.I may as well ask ? How do you control the width and length of the add to cart button.I have changed it in my template.css sheet but it does not effect it.
I’m glad you found this usefull.
This blog is actually just a place that I post my own mental notes and tips for my own help next time I’m trying to remember how to do something.
The fact that other people read this blog also, and find this stuff usefull is just an extra buzz.
The posts are usually short and sweet, simply because I’m writing them to myself..
So cheers for the kind words.
ok – Now to your question..
Virtuemart also uses it’s own style sheet – and from memory, I think all the styles for the buttons are stored at:
/components/com_virtuemart/themes/default/theme.css
So use that style sheet to add or change and of the styles for virtuemart.
Hope that helps
Shan