Checkout address adjustment

  • Posts: 246
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
11 years 11 months ago #79969

I have my cart set up as:
cart_login_address,cart_shipping_payment_coupon,cart_status_fields_confirm,end with 'NO REGISTRATION"

1 - After entering an address, my checkout page loads with "Shipping address (check box checked) Use the same address as for billing" as the default. How can I make this default the opposite - such as showing the box unchecked with the billing/shipping address coming up. One of my customers could not figure out how to "uncheck" the check mark to change the shipping address. Or is some workaround such as adding text to tell the customer to uncheck the box to change shipping address (not as good as having the box unchecked.

2 - I can add more shipping address ok - but they are all together vertically (along with the select box - ok) -- How can I put spaces between the different addresses to visually separate them?

3 - Also if someone enters a different shipping address and goes to the next page - there is no way for the customer to again view the addresses he had entered until the order is submitted and he get an email. Is there some way the Billing and Shipping Address be visible on the cart page?

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #80012

1.
You need to edit the file "address" of the view "checkout" and change the line:
if($this->shipping_address==$this->billing_address){

to:
if(false){

2. You can add CSS on your website to add space between them :
#hikashop_checkout_address table tr{ padding-bottom: 10px; }

3. You can add the address view again in your other steps of your checkout workflow if you want to see the addresses on the other steps.

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

  • Posts: 246
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
11 years 11 months ago #80064

1 & 3 worked fine - but I added the css (shown below)to the bottom of the css file and it did not change. Attached is an image of them not visually separated - I think I should improve it.


++++++++++++++++++++++++++++++++++++++
.hikashop_checkout_shipping_radio{
margin:15px;
}

#hikashop_checkout_address table tr{ padding-bottom: 10px; }
++++++++++++++++++++++++++++++++++++++

Another question - I have had a few people complain that they could not place an order as their computer locked up during the process (Or they said went in a circle?). This person was using firefox (Like I do) and all my test orders go through ok. Also I am getting a few orders that are double - the second coming in a few minutes later WITH THE PAYMENT INFO. I am wondering if there is something that delays getting the payment window loaded to them. Site speed? Cache (I think mine is disabled) Any advice?? We are getting a lot fewer orders this year with the new system but I think a lot of it might be because we have a president that is continuing to destroy our economy.

Attachments:
Last edit: 11 years 11 months ago by bigfoot. Reason: Adding more info

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

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

Hi,

Try to use: #hikashop_checkout_address table td{ padding-bottom: 10px !important; }

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

  • Posts: 246
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
11 years 11 months ago #80113

OK - thanks - that worked.

Also forget the question about orders not going thru - I changed our authorizenet by to aim - I think it fits our site better.

Also, since I could not get the little add to cart popup to work right, I changed it to load the checkout page after every addition. Now I would like the add the "continue shopping" button to the top of the page. What page is this on and what code do I use?

Also, a while back I changed the text of a button that now reads "register" I now want it to read "continue". It is DIRECTLY ABOVE THE "continue shopping" button. AND NOW I CANNOT FIND WHERE I CHANGED IT?? :woohoo: :blush: :evil: :ohmy: :( (Whatever applies to getting frustrated)

Last edit: 11 years 11 months ago by bigfoot. Reason: Adding more info

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

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

Hi,

I think that you are talking about the "Register" button in the checkout for adding an address, the translation line is "HIKA_REGISTER".

The continue shopping button is present in the view "chekout / step" to display it to the top, you have to place the code upper in the same file. The code is:

		if($this->continueShopping){
			if(strpos($this->continueShopping,'Itemid')===false){
				if(strpos($this->continueShopping,'index.php?')!==false){
					$this->continueShopping.=$url_itemid;
				}
			}
			if(!preg_match('#^https?://#',$this->continueShopping)) $this->continueShopping = JURI::base().ltrim($this->continueShopping,'/');
			echo $this->cart->displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this->params,JRoute::_($this->continueShopping),'window.location=\''.JRoute::_($this->continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"');
		}

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

  • Posts: 246
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
11 years 11 months ago #80221

Thank you , I have added the extra "continue shopping" button ok. My frustrating problem is I changed the text on a button now called "register", on the bottom of the attached page, and I cannot find what page it is on to edit it (or it now looks different.

Also - about these modifications. What happens to them when the program gets upgraded to newer versions - Do I have to start over?

Attachments:

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

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

The "Register" button is the original one, by default it's called "Register". To change the translation, you have to go in HikaShop > Configuration > Languages. And replace the translation for HIKA_REGISTER.
It is displayed in the view "user / registration".

If you do you modifications in HikaShop > Display > Views, in the Frontend CSS File, in the Override part of the language files, you will lose nothing.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum