| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Random Image or Random Products - Category Specific | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#51
|
|||||||||
|
|||||||||
![]() If you have the product id then you have the URL. the URL is product.php?productid={$productid} Look at the template, what is the code for the link look like?
__________________
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. |
|||||||||
#52
|
|||||||
|
|||||||
![]() I'm using the exact template as provided in this thread, but a href is blank in the rendered HTML.
Code:
Do we need to pass more parameters herein? and customer/main/products.tpl is the stock xcart file without any mods...
__________________
Version: 4.5.x |
|||||||
#53
|
|||||||
|
|||||||
![]() Code:
the above is the a href code from products.tpl and by changing it to (and create a new template file so not to wreck products.tmp; e.g. products_random.tpl: Code:
This now fixes the problems. One other thing is, this only display the product name (and link) and it's thumbnail, but it doesn't display the price, buy now button, etc...
__________________
Version: 4.5.x |
|||||||
|
|||
X-Cart forums © 2001-2020
|