![]() |
Remove Product ID from Dialog
==============================================
Can anyone advise me How-To remove the Produt ID # from the dialog area? For instance when a user selects a product the Product name is follwed by the Product ID# (ex. Great Product #33). ------------------------------------------------------------THANKS------------- :? Hyperdelicious ============================================== ============================================== |
Is this what you are looking for?
http://forum.x-cart.com/viewtopic.php?t=447 |
Thanks
===============================================
Thank you very much.... it worked perfectly!!! Do you know if this will also remove he ID# from the upsell items? In fact if you could advise on how to replace the ID with a thumbnail I'd greatly appreciate it. ------------------------------------------------------------THANK YOU----------- :D Hyperdelicious =============================================== =============================================== |
Hi,
To remove the productid from the upsell products, change your template from this: Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} {if $product_links ne ""} {capture name=dialog} {section name=cat_num loop=$product_links} #{$product_links[cat_num].productid} To this: Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} {if $product_links ne ""} {capture name=dialog} {section name=cat_num loop=$product_links} Hope that helps, ATKOgirl |
Thanks but...
===============================================
Thanks ATKOgirl ... That worked great for removing the Product ID#. Now How do I place a thumbnail in there? -------------------------------------------------------------------THANKS-------- :) Hyperdelicious =============================================== =============================================== |
This is from my modules/Upselling_Products/related_products.tpl Combination of codes others posted. Removes product id from upsell and inserts product image.
Remember to copy your code before changing in case it botches things up for you in your cart version. Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} |
Ok now that worked but...
===============================================
Thanks Jeannie,.... Now can someone advise me as to how I can set a size limit on the pics (thumbnail them) instead of having them displayed in full size... -------------------------------------------------------------THANKS AGAIN----- :) Hyperdelicious =============================================== =============================================== |
Hmmm, what happens if you replace the <img src> part of that code with some of what's in the product_thumbnail.tpl? Careful! Not tested.
|
Been trying
===============================================
I've been working with the product_thumbnail and the resell.tpl and haven't come up with something that works yet... what happens is it replaces the image with the default (no image available) pic. I've also tried just adding the {if} statement concerning image_x and image_y, but for some unknown reason it doesn't work without the entire string from the product_thumbnail.tpl... any other suggestions? ---------------------------------------------------------------THANKS------------ :? Hyperdelicious =============================================== =============================================== |
Hello,
Has anyone tried this on version 3.4.9? I looked at my code in: /modules/Upselling_Products/related_products.tpl and it is slightly different. All I want to do is remove the product ID from appearing in the related products list. I do not need the thumbnails to show. Unfortunately, I am not very familiar with "smarty". Thanks for the help, Bob |
All times are GMT -8. The time now is 01:11 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.