Skip to main content

Add cart.png and hide "price"

  • arens
  • arens's Avatar Topic Author
13 years 11 months ago #78104 by arens
Add cart.png and hide "price" was created by arens
How, too add the image ex: cart.png of the left part the cart module?

Other question how too hide the word " precio" the left part alone in the cart module?

see attach

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

13 years 11 months ago #78134 by Xavier
Hi,

To edit the content of the cart module, you have to edit the view "product / cart" in HikaShop > Display > Views.

To remove the word "precio" I think that the easiest way is to do that by CSS modification in the Frontend CSS File in HikaShop > Configuration > Display
You can see some documentation to see how to do that here:
www.hikashop.com/en/support/documentation/faq.html#css

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

13 years 11 months ago - 13 years 11 months ago #79774 by janevert
I am sorry i`am a beginner and don`t now what to change to add a image of a cart in the cart-view

www.universal-gemstone.com/index.php/com...ethist.html?Itemid=1

the word "Bestel" have to change in a cart image.
Last edit: 13 years 11 months ago by janevert.

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

13 years 11 months ago #79837 by nicolas
Ah, it's the add to cart button that you want to replace by an image.

You don't need to edit any code for that.

Just use a translation override and replace the "Bestel" translation by a HTML image tag (beware that you should use simple quotes in the HTML of your image tag so that the translation file format is not broken).

You can find more information on translation overrides here:
www.hikashop.com/en/download/languages.html#modify

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

13 years 11 months ago #79853 by janevert
I have try to put a tag but it did not work.

I have made this line ADD_TO_CART="<img/media/com_hikashop/images/winkelwagen 1.jpg" alt="winkelwagen" width="60" height="41"> "

What is rong

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

13 years 11 months ago #79883 by Jerome
Hi,

Your HTML code is wrong.
Please use :
Code:
ADD_TO_CART="<img src='/media/com_hikashop/images/winkelwagen_1.jpg' alt='winkelwagen' width='60' height='41'/>"
Please check that the filename is right, there was a space that I have replaced by an underscore (web server does not appreciate spaces in urls and filenames).

Regards,

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

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

13 years 11 months ago #79896 by janevert
Its stil not working.

I have removed the space in the image name but have no effect.

Can it that the size of the box not correct is?
cant find the place were to adjust the size of the box

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

13 years 11 months ago - 13 years 11 months ago #79964 by nicolas
Then, add instead CSS to do it. For example like that:
Code:
.hikashop_product_stock input{ border: 0 !important; color: transparent!important; background-image: url(http://www.universal-gemstone.com/media/com_hikashop/images/winkelwagen_1.jpg) !important; width: 60px !important; height: 60px !important; }

You can add that CSS in the CSS file of your template or in the frontend CSS file of HikaShop via the Display tab of the configuration.
Last edit: 13 years 11 months ago by nicolas.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum