| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product options in product list | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
Re: Product options in product list
We've gotten it to at least pass the product options to product list.
What we're basically trying to do, is use the code you added to /products.php in post #12 in this thread. We're using this to show an image that says "Options Available!" over top of the product thumbnails in any product list on our site (we use products_t.tpl). But since New Arrivals and On Sale products are populated in a different area, we can't get it to work with them. Tried putting the code from products.php into new_arrivals.php and on_sale.php but it didn't work. Though it did work for manufacturers.php (but I think that's because the manufacturers.php product array may be pulled from the same array products.php uses). See: silverhorseracing.com to view what we are doing. Right now we have if statements: Code:
__________________
Marcello Canitano New Site: X-Cart v4.5.5 GOLD X-Cart Mobile v1.4.3 X-Payments v1.0.6 CDSEO Pro v2 Total Server Solutions xCDN www.silverhorseracing.com |
|||||||||
#22
|
|||||||
|
|||||||
Re: Product options in product list
Thanks TotalTec. I added the modification to my website (x-cart 4.1), and it works great. It only shows the product options on the category pages, and I'd like to see if there is a easy way to make it show on all of the pages that show a product list (ex. search, featured products etc).
I used to code out of the post dated 06-22-2012, 09:46 AM and 06-22-2012, 10:10 AM.
__________________
X-cart 4.1 CDSEO Pro Remember Anonymous Carts |
|||||||
#23
|
|||||||||
|
|||||||||
Re: Product options in product list
Hi Mike,
How is it going? thanks for posting this mode. did you manage to make it work with variants and wholesale prices? |
|||||||||
#24
|
|||||||||
|
|||||||||
Re: Product options in product list
Anton,
Good to hear from you friend! I have not messed with this for years, I don't think I ever worked on variants and wholesale prices for this. It is something I could code for sure if a client was interested. These days though, its hard to find the time to do stuff like this without having a paying client to do it for.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|