Favorites products
4 years 6 months ago #340093
by komir
Favorites products was created by komir
-- HikaShop version -- : 4.5
-- Joomla version -- : 3.10
-- PHP version -- : 7.4
Hi is Hikashop have a Favorites product?
Something like users can select their favourites products.
Thank you
-- Joomla version -- : 3.10
-- PHP version -- : 7.4
Hi is Hikashop have a Favorites product?
Something like users can select their favourites products.
Thank you
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340103
by nicolas
Replied by nicolas on topic Favorites products
Hi,
There are two ways to do it.
You could use the wishlist system:
www.hikashop.com/support/documentation/5...config.html#features
You could use the "like" plugin:
www.hikashop.com/marketplace/product/155-product-like-btn.html
There are two ways to do it.
You could use the wishlist system:
www.hikashop.com/support/documentation/5...config.html#features
You could use the "like" plugin:
www.hikashop.com/marketplace/product/155-product-like-btn.html
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340156
by komir
My question is how to display, that button, on the product in the category list view?
Thank you
Replied by komir on topic Favorites products
I have enabled it. Now button is displayed in product details.You could use the wishlist system:
www.hikashop.com/support/documentation/5...config.html#features
My question is how to display, that button, on the product in the category list view?
Thank you
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340163
by nicolas
Replied by nicolas on topic Favorites products
Hi,
Edit the settings of your menu items via the joomla menu manager. There, under the "products options" tab, you'll have a display setting for the add to wishlist button.
Edit the settings of your menu items via the joomla menu manager. There, under the "products options" tab, you'll have a display setting for the add to wishlist button.
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340214
by komir
Replied by komir on topic Favorites products
Thank you
One more is it possible to be some image of the heart, not text?
One more is it possible to be some image of the heart, not text?
Please Log in or Create an account to join the conversation.
4 years 6 months ago - 4 years 6 months ago #340215
by Philip
Replied by Philip on topic Favorites products
Hello,
Almost everything is possible via css custom command, learn here how to add your own css command.
Then, step by step, you have to keep the button container, but remove the content to replace it by your required image.
Hope this will help you to achieved what you need.
Regards
Almost everything is possible via css custom command, learn here how to add your own css command.
Then, step by step, you have to keep the button container, but remove the content to replace it by your required image.
Code:
// Remove content
.container_class_html .element_class {
display: none;
}
// Add your image
.container_class_html {
background-image: url(YourWebsite/folder/ImageUrl.png)
}
Hope this will help you to achieved what you need.
Regards
Last edit: 4 years 6 months ago by Philip.
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340279
by komir
Replied by komir on topic Favorites products
I have add
// Remove content
.container_hikabtn hikawishlist .element_class {
display: none;
}
// Add your image
.container_hikabtn hikawishlist {
background-image: url( freepngimg.com/download/web_design/65470...like-png-file-hd.png )
}
but nothing is changed
// Remove content
.container_hikabtn hikawishlist .element_class {
display: none;
}
// Add your image
.container_hikabtn hikawishlist {
background-image: url( freepngimg.com/download/web_design/65470...like-png-file-hd.png )
}
but nothing is changed
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340284
by nicolas
Replied by nicolas on topic Favorites products
Hi,
Philippe's code requires that you change the CSS classes in his code with the classes of the elements you want to affect. Just copy/pasting what he provided won't work.
And in this case, what he proposed won't work anyways because the button of the wishlist doesn't have a container div.
I think there is a much simpler solution though. You can just add a translation override like this:
www.hikashop.com/download/languages.html#modify
Philippe's code requires that you change the CSS classes in his code with the classes of the elements you want to affect. Just copy/pasting what he provided won't work.
And in this case, what he proposed won't work anyways because the button of the wishlist doesn't have a container div.
I think there is a much simpler solution though. You can just add a translation override like this:
Code:
ADD_TO_WISHLIST="<img src='https://freepngimg.com/download/web_design/65470-emoticon-button-smiley-facebook-like-png-file-hd.png' />"
Please Log in or Create an account to join the conversation.
4 years 6 months ago - 4 years 6 months ago #340301
by komir
Replied by komir on topic Favorites products
Thank you that is essayer solution and working as expected 
How to add that button on the top position, above the product image, now it is on the bottom under quantity?
How to add that button on the top position, above the product image, now it is on the bottom under quantity?
Last edit: 4 years 6 months ago by komir.
Please Log in or Create an account to join the conversation.
4 years 6 months ago #340305
by nicolas
Replied by nicolas on topic Favorites products
Hi,
You can do that with CSS code. For example:
You can do that with CSS code. For example:
Code:
.hikawishlist{
position: relative;
top: -432px;
left: -98px;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.251 seconds