Adding Cart Icon Image on Mini Cart
- minminiweb
-
Topic Author
- Offline
Less
More
11 years 1 month ago #210639
by minminiweb
Regards,
Ganesamoorthy
Project Coordinator @ minminiweb.in
Adding Cart Icon Image on Mini Cart was created by minminiweb
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.44
-- Browser(s) name and version -- : Chrome 44
Hi,
I want to add an "cart icon image" on mini cart permanently.
I have searched here and found this topic ( www.hikashop.com/forum/4-how-to/21694-di...ge-in-mini-cart.html ) helped me to achieve a part. This image is only displayed on empty cart, But when an item added to cart the image disappears.
I want to it displayed all the time. Also I want to display the "proceed to checkout' line bottom to the price along with this image. How can I do that? Please guide.
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.44
-- Browser(s) name and version -- : Chrome 44
Hi,
I want to add an "cart icon image" on mini cart permanently.
I have searched here and found this topic ( www.hikashop.com/forum/4-how-to/21694-di...ge-in-mini-cart.html ) helped me to achieve a part. This image is only displayed on empty cart, But when an item added to cart the image disappears.
I want to it displayed all the time. Also I want to display the "proceed to checkout' line bottom to the price along with this image. How can I do that? Please guide.
Regards,
Ganesamoorthy
Project Coordinator @ minminiweb.in
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 1 month ago #210652
by Mohamed Thelji
Replied by Mohamed Thelji on topic Adding Cart Icon Image on Mini Cart
Hello,
1. In your case you'll just have to reproduce what you did on the "ADD_TO_CART" translation key word.
2.
Thanks.
1. In your case you'll just have to reproduce what you did on the "ADD_TO_CART" translation key word.
2.
Can you give me more information through some screenshots for example about what you exactly want to do ?I want to it displayed all the time. Also I want to display the "proceed to checkout' line bottom to the price along with this image. How can I do that? Please guide.
Thanks.
Please Log in or Create an account to join the conversation.
- minminiweb
-
Topic Author
- Offline
11 years 1 month ago #210741
by minminiweb
Regards,
Ganesamoorthy
Project Coordinator @ minminiweb.in
Replied by minminiweb on topic Adding Cart Icon Image on Mini Cart
Hi,
I have modified the code at "root/language/en-GB/en-GB.com_hikashop.ini" as below:
replace code at line no 32:
to
the result is as the screenshot below. The cart image showing when the cart is empty.
But when an item is added, the image disappears. I want it remain even when the item is added.
I have modified the code at "root/language/en-GB/en-GB.com_hikashop.ini" as below:
replace code at line no 32:
Code:
CART_EMPTY="The cart is empty"
Code:
CART_EMPTY="<img src='http://mydomain.com/images/cart.png' /><br/>The cart is empty"
the result is as the screenshot below. The cart image showing when the cart is empty.
But when an item is added, the image disappears. I want it remain even when the item is added.
Regards,
Ganesamoorthy
Project Coordinator @ minminiweb.in
The following user(s) said Thank You: monkette
Please Log in or Create an account to join the conversation.
11 years 1 month ago #210742
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Adding Cart Icon Image on Mini Cart
To display the cart image also if one or more items are in the cart, you can modify two more text strings in a similar way.
The two strings are currently:
However, you should not modify the original language file, because then these modifications will be lost without warning the next time you update HikaShop.
Instead you should use e.g. the language override feature built into HikaShop: hikashop.com/download/languages.html#modify
The two strings are currently:
Code:
X_ITEM_FOR_X="%s item for %s"
X_ITEMS_FOR_X="%s items for %s"
However, you should not modify the original language file, because then these modifications will be lost without warning the next time you update HikaShop.
Instead you should use e.g. the language override feature built into HikaShop: hikashop.com/download/languages.html#modify
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
- minminiweb
-
Topic Author
- Offline
11 years 1 month ago #211153
by minminiweb
Regards,
Ganesamoorthy
Project Coordinator @ minminiweb.in
Replied by minminiweb on topic Adding Cart Icon Image on Mini Cart
Yes. I have find it and made changes successfully! Thanks.
Regards,
Ganesamoorthy
Project Coordinator @ minminiweb.in
Please Log in or Create an account to join the conversation.
Time to create page: 0.235 seconds