News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove button Add to Cart for only some groups of users

Started by clabis71, December 28, 2011, 21:39:45 PM

Previous topic - Next topic

dmic

Quote from: ivus on August 21, 2012, 13:37:57 PM
@bumburum

just a quick note. You should never put database queries in your view output template. It potentially could expose your entire database for exploits. You should really adhere to strict MVC principles.

@ivus Do you know of a way to do this without outputting a db query?

Thanks

Dave

Rozie

If anyone is interested there is an updated (January 2018) solution to this topic here https://forum.virtuemart.net/index.php?topic=136494.0