Guest sendoh23 Posted May 8, 2007 Share Posted May 8, 2007 i tried displaying product images under the popular products section but it just wont display the link and the image link is correct, it will lead me to the correct product but the product photo or image just wont display. i hope someone could help me out on this <!-- BEGIN: popular_products --> <div class="boxTitleRight">{LANG_POPULAR_PRODUCTS_TITLE}</div> <div class="boxContentRight"> <ol> <!-- BEGIN: li --> <li class="num"><a href="index.php?act=viewProd&productId={DATA.productId}" class="txtDefault"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a></li> <a href="index.php?act=viewProd&productId={DATA.productId}" class="txtDefault">{DATA.name}</a><br /> <!-- END: li --> </ol> </div> <div class="boxFootLeft"> </div> <!-- END: popular_products --> heres my popular product page <img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /> I have tried alot of objects to replace {VAL_IMG_SRC} but nothing works :P Quote Link to comment Share on other sites More sharing options...
markscarts Posted May 8, 2007 Share Posted May 8, 2007 No php code for pulling product images and displaying them is included in includes/boxes/popularProducts.inc.php and that is the php file that drives skins/xx/styleTemplates/boxes/popularProducts.tpl {VAL_IMG_SRC} therefore has no meaning in this .tpl file You need to figure out how to code the php file, or find a mod already written that does this. Someone made such a mod which is free, look for it in the cubecart.org forum archives Quote Link to comment Share on other sites More sharing options...
Guest webicon Posted May 8, 2007 Share Posted May 8, 2007 Theres a free mod over at cubecart.org for this... Quote Link to comment Share on other sites More sharing options...
Guest sendoh23 Posted May 9, 2007 Share Posted May 9, 2007 have installed the mod to my cart... it works great... but i would like to ask if its possible to include a slideshow instead of displaying the images there statically In this case, it would save space Quote Link to comment Share on other sites More sharing options...
Guest webicon Posted May 9, 2007 Share Posted May 9, 2007 sorry I only know of the scrolling one that I PM'd you - When you say slideshow do you mean new products phasing in and out? hmmm not quite sure how that would work unless it was displaying random products and constantly resfreshing...might be worth going over to cubecart.org. Quote Link to comment Share on other sites More sharing options...
Guest sendoh23 Posted May 9, 2007 Share Posted May 9, 2007 sorry I only know of the scrolling one that I PM'd you - When you say slideshow do you mean new products phasing in and out? hmmm not quite sure how that would work unless it was displaying random products and constantly resfreshing...might be worth going over to cubecart.org. ya with the popular products one displayed and changes every few seconds like those which can be done through a javascript? Quote Link to comment Share on other sites More sharing options...
Guest webicon Posted May 9, 2007 Share Posted May 9, 2007 Ok - I know just the mod. Cant post here though sorry. Google search: 'cubecart mod products slideshow' Quote Link to comment Share on other sites More sharing options...
Guest cuber1 Posted September 11, 2007 Share Posted September 11, 2007 Hi, Can anybody please let me know which mod I need to be able to display multiple images for products(as I curently only able to display one). I appreciate your help. cuber1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.