how to get minicart in header

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #128436

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.0
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : FireFox 23.0.1
-- Error-message(debug-mod must be tuned on) -- : Error_message

hi i am trying to get Hikashop minicart on the header of my website but no matter what i do it didnt shows the cart picture.. it only shows the message of the cart is empty or items added to the cart.

this is my Shopping Cart settings



and this is what i am getting in the result


i have tried clearing the cache and purging the old cache but i am getting the same response.
Kindly help

Attachments:

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #128454

Hi,

Which cart picture ?
The module does not display a cart picture but you can add one using some CSS.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #128515

This one i am talking about



i saw this one on some of you showcase websites.

why i cant have it ?
if there is some css then kindly tell me the codes and where to put it. thanks

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 1 month ago #128528

Hi,

I think that you'll probably find a solution through this thread :

You'll just have to :
- Go to "Hikashop->Display->Views"
- Edit the "Cart" file of the "Product" view of your front-end template
- Change this line :
$emptyText =JText::_('CART_EMPTY');
By :
$emptyText = '<img src="YourImgLink" alt="cart empty" height="42" width="42">'.JText::_('CART_EMPTY');
Note that you'll have to replace the YourImgLink text by the link to your image.

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

  • Posts: 159
  • Thank you received: 0
11 years 1 week ago #132616

hi. i want to know one more thing. how to change" The cart is empty" message ? i want it to show "0 Item(s)" instead of it. how to do that ?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
11 years 1 week ago #132649

Hi,

You can use a translation override:
www.hikashop.com/download/languages.html#modify

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

  • Posts: 159
  • Thank you received: 0
11 years 1 week ago #132663

Thanks its Done.. One more thing...

how to change the styling of hikashop buttons ? i want to change the background and text color
or
how to make hikashop buttons looks like my theme button styling ?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
11 years 1 week ago #132688

The buttons should normally use your template's styling automatically unless you changes the "button style" option of the configuration from "normal" to "css". So I would recommend to check on that.
If your template doesn't provide any styling for the buttons, you can add your own CSS to the "button" class in order to style your buttons.

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

Time to create page: 0.098 seconds
Powered by Kunena Forum