Author Topic: Editing the Shopping Cart On-Page Login Form?  (Read 877 times)

yodelay

  • Beginner
  • *
  • Posts: 6
  • Skype Name: alexconnor1982
Editing the Shopping Cart On-Page Login Form?
« 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

Code: [Select]
echo shopFunctionsF::getLoginForm ($this->cart, FALSE);
on around line 120.

(I've replaced this with

Code: [Select]
<?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!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Editing the Shopping Cart On-Page Login Form?
« Reply #1 on: June 14, 2014, 14:01:46 pm »
components/com_virtuemart/views/user/tmpl/login.php
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

yodelay

  • Beginner
  • *
  • Posts: 6
  • Skype Name: alexconnor1982
Re: Editing the Shopping Cart On-Page Login Form?
« Reply #2 on: June 14, 2014, 15:32:20 pm »
Great thanks!