Hi! I am knew to this so pls be kind with me ;)
I am trying to remove the price and add-to-cart-button at the category view, but I would like to have the price and button in the detail view of the products.
How can i do that? Thank you for your time!
you need to do a template override:
this means copying some 'default' files to a different location under your frontend template's folder.
There you make the changes you need to...
I learned how to comment out things in php.
read this lot first....
then try and ask again ;)
https://docs.virtuemart.net/tutorials/33-templating-layouts/78-introduction-template-system.html
https://forum.virtuemart.net/index.php?topic=132441.0
From <https://forum.virtuemart.net/index.php?topic=114686.0>
From <https://forum.virtuemart.net/index.php?topic=125166.0>
Well thank you very much for your respond. As far as I am concerened I will try to read that stuff, but I also do know how to comment stuff out. A small hint were I could find the code to commend it out, could be helpfull! Thx again!
Virtuemart 3.2.4
The file to edit and override is components/com_virtuemart/sublayouts/products.php Prices and add to cart are displayed using other sublayouts, called in this file.
echo shopFunctionsF::renderVmSubLayout('prices'....................
echo shopFunctionsF::renderVmSubLayout('addtocart'.................
Thank you very much! It worked and I am so happy! Greetings too you kind helpers!
can u mark your topic as [SOLVED]? :)
Sorry, couldn't elaborate more but you got direct & precise help from one of the super heros :) !!
ehrmmm
already marked as solved :D
Jörgen @ Kreativ Fotografi
ok, duhh moment for me :)