OPC Template Modifications

OPC Template Modifications

Postby admin » Thu Nov 10, 2011 4:47 pm

Hello

We recently bought and downloaded your one page checkout component which we love and is brilliant.

But I am trying to make a few slight changes to the 'icetheme_two column' template that are required just to get it looking as we want it. I have found the source files in the download for the template in a zip file, but I cannot find where to deploy them on our server. Can you help me please by telling me the folder location(s), or indeed if I am completely wring and the theme is edited a different way.

I have sufficient knowledge of virtuemart and php to make changed and usually I have no problem finding the source files, but this one has stumped me...

Best Regards

Chris


Hello Chris,
the files are located at
/components/com_virtuemart/themes/default/templates/onepage/YOUROPCTHEME

please rename the theme directory, so it does not delete on OPC upgrade

structure of the files:
/onepage.logged.tpl.php (template for logged users)
/onepage.unlogged.tpl.php (template for unlogged users)
/include.php (use joomla code to load additional javascripts and css
for this template)
/onepage.css (default css included by OPC)
/overrides (any of your VM theme overrided for OPC - just copy them here)
/overrides/basket.html.php (basket b2b and b2c which is compatibile
with OPC javascript)
/overrides/onepage.cfg.php (OPC configuration override, original conf.
file is in /administrator/components/com_virtuemart/classes/onepage/onepage.cfg.php)
/overrides/list_user_fields.tpl.php (override of ps_checkout->listUserFields)
/overrides/list_user_fields.shipping.tpl.php ( the same as above, but
for shippin section)
/overrides/shipping_methods.tpl.php (new in the latest version, where
you can override html of shipping methods from various classes)

I also attached the latest version of OPC and you can have a look on
tdavlin template which uses the most of what you can get with template
overrides.

Some functions can also modify the userfields such as the doubleemail
extension in /components/com_onepage/ext/ and some can influence cart
content such as addtocartaslink.

I will publish this email as i think it might be usefull for all of my
customers.

Best Regards,
Stan Scholtz, RuposTel.com
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 1.1.x

cron