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

How can i change the Shipment text

Started by Thanasis, July 21, 2016, 15:27:33 PM

Previous topic - Next topic

Thanasis

Hi, want to Change the text "Shipment" from "Ship To" form and i dont find it. I found how to delete to this file components/com_virtuemart/views/cart/tmpl/default_address.php removing the section:
echo $this->cart->lists['shipTo'];

You need to login to see it...
Look to my attachment to see what i mean, thanks.

GJC Web Design

assume one of these

COM_VIRTUEMART_USER_FORM_SHIPTO_LBL
Ship To
COM_VIRTUEMART_ORDER_PRINT_SHIP_TO_LBL
Ship To
COM_VIRTUEMART_USER_FORM_SHIPTO_LBL
Ship To
COM_VIRTUEMART_ORDER_PRINT_SHIP_TO_LBL
Ship To
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Thanasis

on this file components/com_virtuemart/views/cart/tmpl/default_address.php only the COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_LBL exists end it is for the label Ship to, Thanks.

Thanasis

Ok, i rename the /components/com_virtuemart/language/en-GB/ to /components/com_virtuemart/language/en-GB2 and the "Shipment" exists, i think it is hardcoded but i cannot find it. I have attachment to se exactly what i mean. Thanks

GJC Web Design

why not just make a std. Joomla lang over ride for COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_LBL  in your language?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Thanasis

if i overwrite COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_LBL, the only change is the label not the select value "Shipment" radio. I want the "Shipment" input radio

GJC Web Design

that is the "default" value in the shopper field "address_type_name"

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Thanasis

Really thanks for your help, this is exactly that i need to change:
'.$address->address_type_name.'
can i remove and add something like this:
'.vmText::_('COM_VIRTUEMART_ACC_BILL_DEF2').'


GJC Web Design

It is only the default .. so try adding the lang var u want in the default

if it doesn't render then the try

vmText::_($address->address_type_name) where it displays
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation