| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Wishlist Button Changes | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Wishlist Button Changes
The the 'add to wishlist' button is appearing on the front page and category pages product listings when I want that button to be 'add to cart' Does anyone know how to switch that out with custom css?
This is for the latest version of xcart 5 Thanks! |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Wishlist Button Changes
Quote:
Do you want to change the title of the button only? Or do you want the item to be added to the cart when that button is clicked? To do the former, you should look for the 'Add to wishlist' language label and edit its content. The latter is not possible to do with CSS. Besides, you already have the 'Add to cart' button in the product listing in your site (see screenshot attached)
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#3
|
|||||||
|
|||||||
Re: Wishlist Button Changes
The add to cart button is way small and not intuitive. Most customers won't put together that clicking on the shopping bag will add it to the cart. I would like to have an actual add to cart button like we have on the product pages instead of the tiny bag.
|
|||||||
#4
|
|||||||||
|
|||||||||
Re: Wishlist Button Changes
Quote:
Code:
Please note that the image will be overwritten during an upgrade, so it is recommended to implement this change as a module.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
#5
|
|||||||
|
|||||||
Re: Wishlist Button Changes
I agree about the shopping bag not being all that intuitive, I will probably implement this myself as well. Thanks for the code!
__________________
X-Cart 5.4.1.39 Live PHP 7.4.33 5.5.5-10.3.38-MariaDB MariaDB Apache 2.4 CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT 32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1 |
|||||||
#7
|
|||||||
|
|||||||
Re: Wishlist Button Changes
Sorry for the bump, but has this code changed since the last post? I tried it, but I'm still getting the shopping bag instead of the Add to Cart button. I added the css, I uploaded the new small.png image (renamed the other one small-old) cleared both caches, but no change other than the bag is now a little bit more to the left. Any ideas?
__________________
x-cart5.2.13 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Wishlist Button Changes
Quote:
Did you clear the cache? Also, could you please share a link to your site so that we can check?
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#9
|
|||||||
|
|||||||
Re: Wishlist Button Changes
I cleared both caches, and cleared browser cache, even went to a different computer for the first time. http://scoopmasters.com/buy-dogipot-products/pet-waste-stations. It looks like the css made room for the new button size as the bags are now a little to the left from where they were. I downloaded the small.png file just to make sure and it is the add to cart button. I'm sure it's something simple and stupid that I'm overlooking.
__________________
x-cart5.2.13 |
|||||||
#10
|
|||||||
|
|||||||
Re: Wishlist Button Changes
Semi update: The small.png file I replaced is an image of a gold colored bag, the bag on my products page is red. Which tells me there is another image file of a red shopping bag that needs to be replaced with the Add to Cart image. I'll be looking for it.
__________________
x-cart5.2.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|