Edit looks of cart in checkout

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 5 days ago #321256

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3.19
-- Browser(s) name and version -- : FireFox

Hi

Sorry, if I have posted in the wrong place :-)

I would just like to know which file under Display > Views I have to edit to be able to get the subname field on a line of it's own.

Kind regards
Thomas

Attachments:

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

  • Posts: 12419
  • Thank you received: 1714
  • MODERATOR
2 weeks 5 days ago #321262

Hello Thomas,

The solution will be to directly use the "Display view files" via "Hikashop->System->Configuration->Advanced" so that you can see the file that you'll have to edit when checking your checkout page.

For more information about views customisations :
www.hikashop.com/support/documentation/1...ize-the-display.html

Kind regards,
Mohamed.

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

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 5 days ago #321309

What an amazing solution!!!
Thanks a lot!

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

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 5 days ago #321310

I have bought the Cart Module - where do I edit the things not listed?

Attachments:

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

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 5 days ago #321313

Hmmm ...
I have edited the file checkout / show_block_cart.php - see attached, but nothing happens.

This product has variants to test on muggep.thr.nu/shop/fabler/produkt/summertime-love

Attachments:

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

  • Posts: 2591
  • Thank you received: 341
  • MODERATOR
2 weeks 4 days ago #321332

Hello,

If you mean this plugin in our Marketplace, the Cart Module Design .
Then, it's normal that you didn't see any changes because, this plugin override the default HikaShop cart view.

In order to edit it, you have to go in this folder :
YourWebsite\plugins\hikashop\cart_design

And edit the cart_design_view.php file.
And last but not least, please as it's a different subject from previous discussion, next time please create a new topic.
Regards

Last edit: 2 weeks 4 days ago by Philip.

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

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 2 days ago #321394

Sorry, I will create a new post next time!
Thanks!

Any idea regarding changes to show_block_cart.php not working?
I have cleared the cache and tried other browsers.

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

  • Posts: 2591
  • Thank you received: 341
  • MODERATOR
2 weeks 1 day ago #321401

Hello,

Sorry maybe my previous message wasn't clear enough, if you use the "Cart Module Design" it's normal that you didn't see the modification because this plugin replace the classic view show_block_cart.php for this one, cart_design_view.php.

So, that's why you didn't see any change.
Regards

Last edit: 2 weeks 1 day ago by Philip.

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

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 1 day ago #321456

Thank you!

But I still don't fin the span with class "hikashop_product_variant_subname" in that file?
I need to replace the : with <br>

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

  • Posts: 70022
  • Thank you received: 10486
  • MODERATOR
2 weeks 1 day ago #321464

Hi,

In that case, there is no need to edit any code.
You can just add a translation override like that:
HIKA_VARIANT_SEPARATOR="<br/>"
www.hikashop.com/download/languages.html#modify

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

  • Posts: 56
  • Thank you received: 5
  • Hikashop Business
2 weeks 1 day ago #321483

Perfect!
Thank you so much!

This ticket can be closed ...

The following user(s) said Thank You: Philip

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

Time to create page: 0.074 seconds
Powered by Kunena Forum