Hi there,
I would like to know which part of code needs to be modified in order to remove the save option from the payment page & save the payment option & process it on on-select method.
Kindly reply me soon as it is urgent requirement. My virtue mart version is 2.0.20b & Joomla is 2.5+.
Regards
Hariharan
Hi there,
Can anyone guide me to achieve my task. Pls I need it asap.
Thanks & Regards
Hariharan B
first I would upgrade to VM2.6.6 (with all the normal warnings) - the cart code is very different in these later versions
Hi GJC
Thanks for your response.I've done lot of customization in the code as per client requirement. Can I get the part of code for this option to be done. In cart page no need to have save button instead on clicking final checkout now button the payment option should be saved & processed.
Regards
Hariharan B
the logic and save forms are in
components/com_virtuemart/views/cart/tmpl/select_payment.php and select_shipping.php
Hi GJC,
I would like to inform you that I've updated the modifications in the file select_payment.php, but still I dint get the output, I'm redirected to the edit payment page if I select the payment in the cart page. Is there any modifications to be done other than this in any other file. Kindly revert me back asap since it is really urgent for me to complete this task.
Regards
Hariharan B
Sorry, I don't have access to any installs with this old version - as I said the cart handling has changed a lot in the more recent versions.
It has to be somewhere in the helpers/cart.php or controllers /cart.php area
Hi GJC,
Let me check the files which you've mentioned & I'll let you know about the status. Let me confirm one thing the changes in the cart will be basically in the above mentioned files right?
Thanks & Regards
Hariharan B
they are the cart files apart from the view of course