Add cart.png and hide "price"

  • arens
  • Topic Author
11 years 11 months ago #78104

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

Attachments:

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

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

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.

  • Posts: 33
  • Thank you received: 0
11 years 11 months ago #79774

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: 11 years 11 months ago by janevert.

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #79837

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.

  • Posts: 33
  • Thank you received: 0
11 years 11 months ago #79853

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.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #79883

Hi,

Your HTML code is wrong.
Please use :

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.

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: 33
  • Thank you received: 0
11 years 11 months ago #79896

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

Attachments:

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #79964

Then, add instead CSS to do it. For example like that:

.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: 11 years 11 months ago by nicolas.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum