VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: yodelay on June 14, 2014, 12:00:52 PM

Title: Editing the Shopping Cart On-Page Login Form?
Post by: yodelay on June 14, 2014, 12:00:52 PM
So I want to add a simple link to a registration page to the shopping cart, along with the usual Forgot Username/Password links. I've overidden the view page (templates/templatename/html/com_virtuemart/cart/default.php), and see

echo shopFunctionsF::getLoginForm ($this->cart, FALSE);

on around line 120.

(I've replaced this with

<?php

$islogged JFactory::getUser();
$status $islogged->guest;
if ($status == 1){
echo shopFunctionsF::getLoginForm ($this->cartFALSE);
}


in order to hide the form when user is already logged in).

I can't see what to do from here - where is the login form markup coming from?

VM version 2.6.6, Joomla version 2.5.17

Any further information required let me know.

Cheers in advance!
Title: Re: Editing the Shopping Cart On-Page Login Form?
Post by: GJC Web Design on June 14, 2014, 14:01:46 PM
components/com_virtuemart/views/user/tmpl/login.php
Title: Re: Editing the Shopping Cart On-Page Login Form?
Post by: yodelay on June 14, 2014, 15:32:20 PM
Great thanks!