News:

Support the VirtueMart project and become a member

Main Menu

MVC model

Started by trankhanh89, January 03, 2012, 20:20:49 PM

Previous topic - Next topic

trankhanh89

Hi there,
I tried couple of hours to search files in core VM2, however I still not sure about the Model files location. My first though is that it locates at: ..components/com_virtuemart/helper. And the Controller files are located at: components/com_virtuemart/controller, for View files at: components/com_virtuemart/view.
Still I am very reluctant about this. Can someone confirm that for me?

Another thing, I try to work out how to remove the USER FIELD in CHECKOUT PROCESS, so customer don't need to fill some information like email or password to proceed checkout. Any suggestion to this problem?

Thank sooo much.

Mod edit: bump message removed

jjk

Quote from: trankhanh89 on January 03, 2012, 20:20:49 PM
...so customer don't need to fill some information like email or password to proceed checkout. Any suggestion to this problem?

Go to VM2 'configuration' - 'Shopper fields' and unpublish what you don't need.
If you want to find the correct files for certain functions, see here: http://forum.virtuemart.net/index.php?topic=95272.0
In addition to that, free editors like Notepad++ are a nice tool for searching functions in files.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

trankhanh89

#2
Thank you sir, but how can I get rid of these fields also, I mean don't show them in checkout page.

Học Lập Trình
Học Lập Trình Web
Học Lập Trình Mobile