How can I not show the shipment and payment method in virtuemart? I should not be shown because I don't have them
Hello
Create a one shipment, and one payment methods.
Select the automatic payment, and shipment in the VirtueMart configuration
Do a template overwrite of the cart, if u do not want them to be displayed.
Hi, How can I do a template overwrite of the cart?? I have the same problem.
http://docs.virtuemart.net/tutorials/33-templating-layouts/78-introduction-template-system.html
Quote from: alatak on September 04, 2013, 08:30:44 AM
Hello
Create a one shipment, and one payment methods.
Select the automatic payment, and shipment in the VirtueMart configuration
Do a template overwrite of the cart, if u do not want them to be displayed.
Hi,
Thanks for your post. Which code should I overwrite then? Or should I cope all the code to the override en erase it over there?
In components/com_virtuemart/views/cart/tmpl/select_payment.php remove or comment out the php code block beginning (this code is in VM2.0.22d):
<?php
if ($this->found_payment_method OR (VmConfig::get('oncheckout_opc', 0) )) {
And a similar edit in components/com_virtuemart/views/cart/tmpl/select_shipment.php - use the edited templates as override in your Joomla template html directory.
Note that the edits will be different if using VM's inbuilt one page checkout.
An alternative way is to hide the ship/payment titles using css.
Quote from: jenkinhill on September 10, 2013, 18:41:10 PM
In components/com_virtuemart/views/cart/tmpl/select_payment.php remove or comment out the php code block beginning (this code is in VM2.0.22d):
<?php
if ($this->found_payment_method OR (VmConfig::get('oncheckout_opc', 0) )) {
And a similar edit in components/com_virtuemart/views/cart/tmpl/select_shipment.php - use the edited templates as override in your Joomla template html directory.
Note that the edits will be different if using VM's inbuilt one page checkout.
An alternative way is to hide the ship/payment titles using css.
Thanks, the options in the workflow are gone now. But which code should I change in CSS to get it out of the summary?
VM: 2.0.20b
Joomla : 2.5.14
Something like this as an override:
.vmpayment_name, .vmshipment_name {
display: none;
}
http://forum.virtuemart.net/index.php?topic=116620.0