Billing Address & Shipping Address

  • Posts: 6
  • Thank you received: 0
11 years 3 months ago #155224

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

www.ilovemymissionary.com
HikaShop Business: 2.3.0
Joomla! version, 3.3.0.
All browsers thus far

Ok,
So I am experiencing a issue with the way the checkout billing address and shipping address are working. I am using a zone restriction to prevent shipping outside the USA, and a tax zone for taxing only orders sold in the state of utah. Here are my questions...

1 - Can I shut off the "new" button so I do not confuse customers on the difference between adding additional addresses vs. editing the existing ones?

2 - My zone arrangements seem to work fine until I try and ship to a shipping address that differs from my billing.

When I try and ship to a country other than the USA and a message informs customer no outside shipping available and stops order, correct.

When I buy from a Utah billing address tax is charged, correct.
When I buy from a billing address outside Utah no tax is charge, correct again.
When I buy from a billing address outside Utah and change shipping address to a address inside Utah tax is charged, wrong?

It also seems that when I edit the shipping address it changes both billing and shipping, if I delete one it deletes both?
Any ideas on how to fix this behavior?

Ultimately my goal is to not ship outside u.s. and only charge tax for orders with billing addresses inside the state of utah. I do not need customers having multiple addresses as I do not register or store their info.
Thanks in advance
b

Please Log in or Create an account to join the conversation.

  • Posts: 84216
  • Thank you received: 13665
  • MODERATOR
11 years 3 months ago #155230

Hi,

1. If you want to remove the new buton, you can add the CSS code below in the frontend CSS of HikaShop:
#hikashop_checkout_billing_address_new, #hikashop_checkout_shipping_address_new{display:none; }

www.hikashop.com/support/support/documen...ize-the-display.html

2. The system uses the shipping address for the tax zone of the user by default. That behavior is controlled by the option "Type of address used for tax" of the configuration. So simply set it to "billing" if you want it to base the taxes on the billing address.

3. You can display only the current address for each shipping/billing by adding the line:
if($address->address_id != $current) continue;
after the line:
foreach($this->addresses as $address) {
in the file "address_select" of the view "checkout" via the menu Display>views.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
11 years 3 months ago #155475

Nicolas,
Thanks for your quick reply!

I have taken off the buttons, and added the code you suggested to have only one address option display. That worked great. The issue now seems that after adding the php alteration each time you edit the shipping address it changes both the billing address and the shipping address to be the same?

The goal is to not present my customer with multiple addresses (just one billing & one shipping) but to still be able to have and edit a separate billing and ship address.

Also I checked my backend and the tax is assigned to the billing address as you suggested but it still charges tax if the shipping address is inside the state of utah. I need to be able to have customers outside the state of utah order and not be taxed and then be able to ship the product to a address in utah still without being taxed.

Any ideas would be great.
b

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
11 years 2 months ago #155955

Still seem to be stuck on this any ideas? After change the billing and shipping are the same?
b

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #156783

Hi,

It is currently not possible to have only one billing and one shipping and both independent.
Custom code will be required to have the desired display.

A work around could be to use the value "Dropdown list" for the option "Address selector" in Configuration > Checkout.
By this way only one address is fully displayed during the checkout.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
11 years 2 months ago #156860

Ok so I returned all php files back to the original state, turned on the pull down work around you suggested.

If you look at the site in the check-out process you add guest email > then address information > press "next"
you get the same page with the billing and shipping addresses filled in with the same information.

if you click finish it processes out to paypal or check payment fine.

The problems:
1 - If you click "Add New Address" button or click "Edit" link on either Billing address or Shipping address it opens a form for editing and when you click "OK" at the bottom of the form it does not retain the information, auto directs you to finish destination and loses all template & css styling?

2- If "Delete" is clicked here as an option rather than "Edit", it deletes both addresses and empties the cart?

3 - I would use paypal to handle the address situation but hikashop is not passing any shipping address info forward on check out nor is paypal passing and shipping information back with the order confirmation regarding the alternate shipping address option.

Any suggestions?
b

www.ilovemymissionary.com

Last edit: 11 years 2 months ago by Brent. Reason: left out address link

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #163533

Hi,

We recently released a new version, the 2.3.2. In this version we added many options related on the addresses.
For example you can set it up as guest checkout, use the "List" Address selector, and disable "Show shipping 'same address' checkbox". This way, two addresses will be require, one for the billing and one for the shipping, and only one for each case.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum