WebSite X5Help Center

 
Dinos Longinos
Dinos Longinos
User

Ecommerce "Add" button  en

Автор: Dinos Longinos
Просмотрено 2393, Подписчики 2, Размещенный 0  

Can anyone tell me why the "Add" button is so long? Is there a way to choose the size of the button?

Размещено
11 Ответы - 1 Полезно - 1 Корректно
Dinos Longinos
Dinos Longinos
User
Автор

Thank you Thomas, the only problem is that the information is in German! frown

Читать больше
Размещено От Dinos Longinos
Thomas S.
Thomas S.
User

Using Google translation you can translate ;)

https://translate.google.de/

Hello. Habs tried, no further knowledge is necessary than only X5.

1) Create an icon page and hide it in the menu.

2) Insert a graphic object and use the desired icon as an image. The icons are in

c: \ Program Files \ WebSite X5 v14 - (depending on version) \ Res \ CartImages \ Add \

3) Replace the variable cart_add in the language center with the following text

<img src = "images / icon_cart_add.png" width = "25" height = "25">

The relative path also works here, no matter where the project is exported.

4) In the product catalog, set the background color of the button to Transparent

2 x Thanks to the nice colleagues!

Читать больше
Размещено От Thomas S.
Dinos Longinos
Dinos Longinos
User
Автор

Hi Thomas, yes, I translated. I am really sorry I didn't think of this earlier.

I tried what you told me but I get an empty image when I do it.

Steps I followed:

I created a page and I called it "icon" and I hidden it from the menu.

I then added an image in the "icon" page and I used the image from c: \ Program Files \ WebSite X5 v14 - (depending on version) \ Res \ CartImages \ Add \

The image name is: 09_add.png

I then went to the Conte4nt Language, searched for cart_add and added this code: 

img src = "/ cart / images / 08_add.png" width = "25" height = "25"> 

When I did this, I get what you can see in the attachment.

Any ideas?

Читать больше
Размещено От Dinos Longinos
Dinos Longinos
Dinos Longinos
User
Автор

I changed the path to: 

<img src = "images / 08_add.png" width = "25" height = "25">

and again nothing.

Читать больше
Размещено От Dinos Longinos
Dinos Longinos
Dinos Longinos
User
Автор

Hi Thomas, I have uploaded the website and my "08_add.png" image is in my "images" folder.

My images folder is under the public_html folder.

Should I use this path?: <img src="/public_html/images/08_add.png" width="25" height="25">

are there spaces in this path or do I remove all spaces?

Any ideas?

Читать больше
Размещено От Dinos Longinos
JJ. JUAG
JJ. JUAG
User

The relative link:

<img src="/images/08_add.png" width="25" height="25">

The absolut link

<img src="http://yourdomain.ext/images/08_add.png" width="25" height="25">

Test the absolut link with the Browser. The webadress for public_html are your domain.ext.

JJ.

Читать больше
Размещено От JJ. JUAG
Thomas S.
Thomas S.
User

The wrong link is

<img src="/images/08_add.png" width="25" height="25">

You have to delete the leading / and use:

<img src="images/08_add.png" width="25" height="25">

This should be a relative link but with a leading / you use the root of the domain!

Читать больше
Размещено От Thomas S.
Dinos Longinos
Dinos Longinos
User
Автор

Thank you Thomas, I will try this!

Читать больше
Размещено От Dinos Longinos
Dinos Longinos
Dinos Longinos
User
Автор

Hi Thomas, it worked! 

Thank you so much for your assistance!!!

have a great weekend!

Читать больше
Размещено От Dinos Longinos
Thomas S.
Thomas S.
User

You'r welkome.

This marked the thread as solved wink

Читать больше
Размещено От Thomas S.