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

Edit code of Basket Page

Started by ArnoHanekom, January 09, 2012, 14:00:12 PM

Previous topic - Next topic

ArnoHanekom

Hi Guys/Gals,

I am new to VirtueMart, Joomla and PHP.

I have existing Joomla sites that I have to maintain and upgrade.

One section of the upgrading includes editing the code of the
final basket page, the page just before payment is processed.

Is there a way to do this?
Can anyone guide me to the correct solution?

Thank you.

Kind Regards,

Arno

michthom

Hi Arno

I'm new to VM but this is what I did on my site:

Look in (website root)/components/com_virtuemart/views/cart/tmpl/
These are the templates for the cart pages.

default.php - initial cart view, and just prior to confirming payment
shopper_adresses.php - filling out Bill to and Ship to addresses
select_shipment.php - Self explanatory
select_payment.php - Self explanatory

Make a copy of the default.php file in your template override directory, e.g.
(website root)//templates/(template name)/html/com_virtuemart/cart/default.php

VM2 will use your new version next time it reloads.

Mike

ArnoHanekom

Thanx Mike,

Now I just have to figure out PHP..

At least I know kinda where what should go.

Kind Regards,

Arno