- Posts: 1184
- Thank you received: 13
Cart customization
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Note that check that thread will probably help you : www.hikashop.com/forum/2-general-talk-ab...rt-module.html#44450
Yes that's possible. You need to turn on the "mini cart" option of the cart module. The image can be added in CSS and the checkout button via a hikashop checkout menu link.
Please Log in or Create an account to join the conversation.
thank you for your answer but i really can't figure out how to customize my cart from the link you gave me.
The cart icon in the image i sent you before has only the number of the items that are in the cart, i don't want anything else to be displayed (price, name e.c).
Could you guide me through that?
Thank you
Please Log in or Create an account to join the conversation.
In the first time : Please configure your cart module in "mini cart" mode.
www.hikashop.com/support/documentation/i...267-cart-module.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Yes it is possible. However it will require some customization.
What you need to do is to modify/add your own code in display> views product/cart file and apply some css.
Example, this is my product/cart file:
To find css code you can inspect with firebug here: kyra.lt and copy/add to your needs.
Please note you can't just copy/paste as it wont work and before doing any modifications create a copy of your file.
Hope that helps.
Regards
Please Log in or Create an account to join the conversation.
Thanks kyratn for your message.
I just want to explained why I modified you message ; it was not to censure you.
Your view content was based on an old HikaShop version and was not easily usable by someone else (a lot of carriage return in your content).
We are not against sharing experiences and views ; but we prefer that the content can be easily read by an human.
Thanks for your understand and sorry for that message modification.
regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
@verzevoul
Like kyratn wrote ; you can override the HikaShop views in the menu "display > views" and select the view "product / cart".
In that view, you will find some PHP code.
You will find the line
You can customize it if you want and you can also see the translations which are used, like "TOTAL_IN_CART_X" or "X_ITEMS_FOR_X".
In your case ; you can activate the "show cart quantity" and modify the view to not get the cart total price.
So, in that view, the important lines for you are:
To read more about the HikaShop customization ; we have that documentation page:
www.hikashop.com/support/support/documen...ize-the-display.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I really appreciate your help, i made it work!
I enable the quantity display in the cart module like Jerome suggested and i added some code in product/cart file.
And changed the translation of "%s items" to %s.
Just one last issue, when i click the cart module, the link to the checkout redirects me to this url
" www.fmsupplies.gr/new/index.php/%CE%BA%C...CE%BD%CE%B1/checkout "
Any idea why?
Thanks again!
Please Log in or Create an account to join the conversation.
Do you have hidden hikashop menu created for checkout? If not you should create it and link it in hikashop configuration> checkout
So you will have same checkout page always.
Thanks
Please Log in or Create an account to join the conversation.
"Force a menu on the checkout" ?
www.hikashop.com/support/support/documen...ml#checkout_checkout
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.