Author Topic: Change shipping message before Country selection  (Read 288 times)

cristina

  • Beginner
  • *
  • Posts: 32
    • Collector Avenue
  • VirtueMart Version: 4.0.22 10864
Change shipping message before Country selection
« on: September 18, 2023, 10:46:08 AM »
Hi,
I have different shipping charges based on country destination.
It's almost impossible to set a default, because of the big changes between countries.
Unfortunately if I use One Page checkout, VM displays a misleading message before the user selects his country desitination.
I wonder if there is a method to display a different message before country selection.
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10881
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Change shipping message before Country selection
« Reply #1 on: September 18, 2023, 12:43:44 PM »
an example (screenshot ) would help to understand what u mean
GJC Web Design
VirtueMart and Joomla Developers - php developers https://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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

cristina

  • Beginner
  • *
  • Posts: 32
    • Collector Avenue
  • VirtueMart Version: 4.0.22 10864
Re: Change shipping message before Country selection
« Reply #2 on: September 18, 2023, 12:57:57 PM »
Thank you,
The first image is the checkout page, immediately after I enter as guest.
The second is the page after I select a country.
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28746
  • Always on vacation
    • Jenkin Hill Internet
Re: Change shipping message before Country selection
« Reply #3 on: September 19, 2023, 12:01:56 PM »
It's not possible to show a shipping rate until the country is known. The message variable is COM_VIRTUEMART_CART_NO_SHIPPING_METHOD_PUBLIC  - you can set a language override for this with a message such as "Shipping will be determined once to specify the shipping country" or change to a blank message so nothing is displayed.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.2.5 10924 J! 3.10.11 PHP 8.2.7