Changing the shopping cart name

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #107034

Hi,

I've similar issue with this forum
www.hikashop.com/en/forum/2-general-talk...cart-item-count.html

I am trying to change from "The Cart is Empty" to "Shopping Bag(0)" with the number of item added.

In the language file, can you pinpoint which part of the file should I change and how?

Many Thanks.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #107049

Hi,

In Configuration > Languages , edit the desired language file and add in the override part:
CART_EMPTY="Shopping Bag(0)"

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #107060

Thanks.
But, how to make it as a link so that when user click on the link, it will go to the cart?
Currently, it is just display as a text
Also, I want to change from "1 item for $9.00" to shopping bag(number of item in the cart)

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #107073

Hi,

So the solution would be to edit your translation word like this :

CART_EMPTY="The cart is empty <a href='YOUR LINK TO YOUR CART'>bloublou</a>"

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #107091

Thanks.
But, how about cart that is not empty.
Say my cart has 2 item.
Where to change to shopping cart(2)?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #107108

Regarding the "x items for x", you'll just have to edit this line :

X_ITEMS_FOR_X="%s items for %s"
by :
X_ITEMS_FOR_X="shopping cart (%s)"

Last edit: 11 years 7 months ago by Mohamed Thelji.
The following user(s) said Thank You: jeannie

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #107206

Hopefully this will be the last question for this topic.

I tried to remove the "X" and "Proceed to checkout" button.

I tried to script this
PROCEED_TO_CHECKOUT=""

but it end out to be X and an empty button.

How can I remove the X and the button?

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

  • Posts: 83050
  • Thank you received: 13408
  • MODERATOR
11 years 7 months ago #107235

What do you mean by the "X" ?

For the proceed to checkout button, if you want to remove it, simply turn off the "show proceed to checkout button" option in the HikaShop options of your cart module.

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #107306

Next to the shopping Cart, the will be an an "X" button to clear the cart and "Proceed to checkout" button.

"simply turn off the "show proceed to checkout button" option in the HikaShop options of your cart module."

How can I turn off that the questions?
As I am not familiar the script, can you pinpoint which part of the script I should be looking?

The only script that I found is similar to this is

PROCEED_TO_CHECKOUT="Proceed to checkout"
But this does not turn off the script if I remove to
PROCEED_TO_CHECKOUT=

any help will be appreciated.

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #107307

I manage to figureout how to turn it off for "Show to proceed to checkout"
All the while I thought I need to turn it off by going to the language script but it is actually it in modules.

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

  • Posts: 83050
  • Thank you received: 13408
  • MODERATOR
11 years 7 months ago #107337

For the delete icon, there is also an option in the cart module HikaShop options screen next to the "Show to proceed to checkout" option.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum