Skip to main content

Changing the shopping cart name

13 years 5 months ago #107034 by jeannie
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.

13 years 5 months ago #107049 by Xavier
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.

13 years 5 months ago #107060 by jeannie
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.

13 years 5 months ago #107073 by Mohamed Thelji
Hi,

So the solution would be to edit your translation word like this :
Code:
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.

13 years 5 months ago #107091 by jeannie
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.

13 years 5 months ago - 13 years 5 months ago #107108 by Mohamed Thelji
Regarding the "x items for x", you'll just have to edit this line :
Code:
X_ITEMS_FOR_X="%s items for %s"
by :
Code:
X_ITEMS_FOR_X="shopping cart (%s)"
Last edit: 13 years 5 months ago by Mohamed Thelji.
The following user(s) said Thank You: jeannie

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

13 years 5 months ago #107206 by jeannie
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.

13 years 5 months ago #107235 by nicolas
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.

13 years 5 months ago #107306 by jeannie
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.

13 years 5 months ago #107307 by jeannie
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.

13 years 5 months ago #107337 by nicolas
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.076 seconds
Powered by Kunena Forum