Missing class on checkout legend

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
1 year 4 months ago #353763

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4

Litle bug. Missing class on #hikashop_checkout_registration block and billing address title legend.

Attachments:

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

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
1 year 4 months ago #353767

Hello,

Thanks for your return! We have correct this for our futur HikaShop package!
Now to correct this on your side :
1. Go to YourWebsite\components\com_hikashop\views\checkout\tmpl
2. Look for your "sub_block_login_registration" file
3. Around line 225 edit to add the HikaShop class : "hika_registration_address"



Thanks again for your feedback
Regards

Last edit: 1 year 4 months ago by Philip.

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

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
1 year 4 months ago #354052

One more problem on checkout:
Field hikashop checkout coupon is now properly formated when empty (no code is entered).

<div class="input-group has-success">
		<input placeholder="Vnesite vaš kupon" class="form-control hikashop_checkout_coupon_field valid form-control-success" id="hikashop_checkout_coupon_input_1_5" type="text" name="checkout[coupon]" value="" aria-invalid="false">
		<button type="submit" onclick="return window.checkout.submitCoupon(1,5);" class="btn btn-primary hikabtn_checkout_coupon_add">Dodaj</button>
		</div>



If you enter coupon code, field changes to:
<div class="input-append has-success">
						<input class="hikashop_checkout_coupon_field valid form-control-success" id="hikashop_checkout_coupon_input_1_5" type="text" name="checkout[coupon]" value="" aria-invalid="false">
						<button type="submit" onclick="return window.checkout.submitCoupon(1,5);" class="hikabtn hikabtn_checkout_coupon_add">
							Dodaj
						</button>
					</div>

and now layout is messed up.

Please fix.

Attachments:

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

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
1 year 4 months ago #354075

Hello,

Can you provide an Url link to allow us to see by ourselves the display issue?
You can process a test with a default template (Cassiopeia) in order to see if your display issue change or even is solved?
Regards

Last edit: 1 year 4 months ago by Philip.

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

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
1 year 4 months ago #354083

It is Hikashop output. You can test on any new install.
It seams that you change html output for coupon part. That cahnge is ok. Now field properly shows with bootstrap 5.
You just need to change it for second case when code is entered.

This message contains confidential information

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

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
1 year 4 months ago #354092

Hello,

Can you provide these elements :
- Url link to your backend (administrator)
- Backend user references (with maximum Acl)

Use our Contact us form to provide these elements, and don't forget to add an Url link to this topic.
Regards

Last edit: 1 year 4 months ago by Philip.

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

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
1 year 4 months ago #354134

Hello,

In order to better understand the root issue can you process an update of your HikaShop version, and purge your cache in order to see if that solve your issue (or at least change something).

Awaiting your returns to progress.
Regards

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

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
1 year 4 months ago #354270

I send you access in contact form. You get it?

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 4 months ago #354272

Hi,

Yes, sorry for that. There was a problem on our end and the ticket was incorrectly closed.

I've taken a look at your backend and your checkout.
But even from the screenshots, I can see something is wrong. There is no mechanism by default in HikaShop to display the coupon field with the add button and the name of a coupon already entered. So your screenshot with the problem is impossible with HikaShop only and no view override.
I think that's why Philippe was thinking you had a view override, and that's also the first thing I checked in your backend.
However, with the backend access, I also found you actually no coupons configured in your HikaShop, even though the "deset" coupon code was working on the frontend.
That's when I thought that you probably had AWOCoupon installed. I checked and it was indeed the case.
So that's why we were not understanding each other. I think that AWOCoupon has a mechanism to override the checkout view of HikaShop with its own HTML. And the thing you want to change is actually in that HTML from AWOCoupon.

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

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
1 year 4 months ago #354274

Thank you, that makes sense. Yes, they have plugin override. That is the code:

<div class="input-append">
						<input class="hikashop_checkout_coupon_field" id="hikashop_checkout_coupon_input_' . $view->step . '_' . $view->module_position . '" type="text" name="checkout[coupon]" value=""/>
						<button type="submit" onclick="return window.checkout.submitCoupon(' . $view->step . ',' . $view->module_position . ');" class="' . $view->config->get( 'css_button', 'hikabtn' ) . ' hikabtn_checkout_coupon_add">
							' . JText::_( 'ADD' ) . '
						</button>
					</div>

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 4 months ago #354275

I suppose they didn't update the code of the override for Joomla 4, like we did in checkout / show_block_coupon and that's why it looks messed up. You'll have to report the problem to AWOCoupon so that they can update the code there.

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

Time to create page: 0.092 seconds
Powered by Kunena Forum