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

"Use for the ship to same as bill to address" not overruling

Started by wouterhelm, December 03, 2015, 11:29:41 AM

Previous topic - Next topic

wouterhelm

Hi,

I have an issue with the "Use for the ship to same as bill to address" option.

Site details:
URL: http://shop.thecus-eu.com
Joomla: 2.5.28
VM: 2.6.22
PHP: 5.5.30

I have various countries I ship to within Europe, all with their own shipping costs. This has been working fine for quite some time. But recently I did get an issue (even though I did not change anything). The option "Use for the shipto same as billto address" is enabled by default, but this not overrule the the ship to details. When I click on "select shipment" I will get the German shipment option only, no matter what country is set for the customer.

When I want to add a ship to address I can see that "Germany" is pre-selected already (I don't know why?). When I modify the ship to address manually and change the country, the correct "ship to" option will be available. So for some reason it looks like that the "bill to address" is not overruling the "ship to address" in case the option "Use for the shipto same as billto address" is enabled.

Any thoughts what might be wrong?

GJC Web Design

this is handles in the shipping plugins .. what are u using?

if the std weight-country is it up to date (i.e. is your AIO 2.6.22?)
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

wouterhelm

We use "By weight, ZIP and countries" as plugin, I think that is the standard one.

Just checked the Extension Manager and the AIO is 2.6.22.

As a temporary solution I would like to remove/disable the "Use for the ship to same as bill to address" text and checkbox, so that customers are forced to add a shipping address manually. But I'm not able to find where this can be disabled/removed (which php file). Anyone that can help?


GJC Web Design

echo VmHtml::checkbox ('STsameAsBTjs', $this->cart->STsameAsBT) . '<br />';

components\com_virtuemart\views\cart\tmpl\default_pricelist.php
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

wouterhelm

Great, thanks a lot, found it and I did a "comment out" for that part.

Only issue I still have is that the shipto address has "Germany" as country by default (as country). Because of this customers still have "Germany" as shipping method and they can proceed with the check out without adding a ship to address. I wonder how I can rid of that. If there is no country in the ship to address you cannot check out and you are forced to add a ship to address, which will fix this. But I wasn't able to found out why Germany is selected as country by default (same for creating a new user account btw).

GJC Web Design

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

wouterhelm

As far as I know this should be "virtuemart_country_id" at [configuration -> shopper fields] right? I did check this before, but the "default" value is empty here.

GJC Web Design

yes..  I know of no other setting .. cookie somewhere?  template?
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