Skip to main content

Edit looks of cart in checkout

More
6 years 4 months ago #321256 by Thrane
-- 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

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

More
6 years 4 months ago #321262 by Mohamed Thelji
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.

More
6 years 4 months ago #321309 by Thrane
What an amazing solution!!!
Thanks a lot!

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

More
6 years 4 months ago #321310 by Thrane
I have bought the Cart Module - where do I edit the things not listed?

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

More
6 years 4 months ago #321313 by Thrane
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

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

More
6 years 4 months ago - 6 years 4 months ago #321332 by Philip
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: 6 years 4 months ago by Philip.

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

More
6 years 4 months ago #321394 by Thrane
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.

More
6 years 4 months ago - 6 years 4 months ago #321401 by Philip
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: 6 years 4 months ago by Philip.

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

More
6 years 4 months ago #321456 by Thrane
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.

More
6 years 4 months ago #321464 by nicolas
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.

More
6 years 4 months ago #321483 by Thrane
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.102 seconds
Powered by Kunena Forum