VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: framos41 on August 15, 2016, 01:16:39 AM

Title: Shipment short name
Post by: framos41 on August 15, 2016, 01:16:39 AM
Hello Everyone,

Whenever a user registers and then buy something from virtuemart, there is a invoicing address and a shipping address, in the shipping address by default users always get "Shipment" for the short name of the shipping address, how can i change that for another word i want to be by default? i have tried changing it in the language string but it has no effect in the front end, it continues showing up "Shipment".

Another question that is not from virtuemart but maybe is an easy question, where can i customize the joomla login form? i have customized it but i cant find the actual form to make for example the form fields and the login button longer or to add placholders to the fields.

Im using Joomla 3.6.2 and virtuemart 3.0.16

Thank you! Regards!
Title: Re: Shipment short name
Post by: GJC Web Design on August 15, 2016, 10:41:52 AM
shipment is often filled as the "default" value for the nickname shopper field

login form?  which one?  module or comp?  3rd party? Over rides?

\templates\TEMPLATE\html\mod_login\default.php

templates\TEMPLATE\html\com_users\login\default_login.php

when asking is far better to supply a url...
Title: Re: Shipment short name
Post by: framos41 on August 16, 2016, 17:35:19 PM
Hello,

Thank you for your answer, yes i talking about this one "templates\TEMPLATE\html\com_users\login\default_login.php", the code calls for the form but there is no actual form there to add placeholders or to make bigger the user and password text fields, where dpo i find the actual form?

And for the "Shipment" nockename that it automatically gives how can i change that default nick name for some other that i want to the users have the default nickname that i want for shipment instead of "Shipment"


Regards!
Title: Re: Shipment short name
Post by: GJC Web Design on August 16, 2016, 23:02:07 PM
QuoteAnd for the "Shipment" nockename that it automatically gives how can i change that default nick name for some other that i want to the users have the default nickname that i want for shipment instead of "Shipment"

just change it (if it is this) in the shopper Field default

"templates\TEMPLATE\html\com_users\login\default_login.php

the inputs are from the std. joomla xml system

so ->  components\com_users\models\forms\login.xml

https://docs.joomla.org/Text_form_field_type/3.2
Title: Re: Shipment short name
Post by: framos41 on August 17, 2016, 19:12:08 PM
Thank you!

That really helped with the login form, now i have it as i wanted it!
I have yet the issue of the default "Shipment" nickname for the address, i cant find the section you say that have the option to change this defauls address nickname.

Regards!
Title: Re: Shipment short name
Post by: GJC Web Design on August 17, 2016, 21:12:03 PM
http://xxxx.com/administrator/index.php?option=com_virtuemart&view=userfields

   address_type_name
Title: Re: Shipment short name
Post by: framos41 on August 18, 2016, 22:12:16 PM
Thank you, you saved the day!

Case closed

8)