Re: Recently Viewed Mod
Ok
I replaced dingbats_categorie.gif with dingbats_a.gif, now it's ok. Now i need to change the color of the words to White. How should i do that? Tammy |
Re: Recently Viewed Mod
Hi Tammy,
Looks like you have a customized menu that is only using labels for the title. So the first thing you have to do is a create a language label in the admin side and name it lbl_recently_viewed and just place the text 'Recently Viewed' in there. Then change the last line of code in customer/main/recently_viewed.tpl so it reads like this: Code:
{include file="menu.tpl" dingbats="dingbats_a.gif" menu_title=$lng.lbl_recently_viewed menu_content=$smarty.capture.menu} That should work, but if it doesn't, then post your menu.tpl and I'll see how to get this working for you. - MoonDog - |
Re: Recently Viewed Mod
Thanks MoonDog. It's perfect !!
You've been so helpful and I've learned from you so much today. I wish i knew as much as you know css etc... Thank you, Tammy |
Re: Recently Viewed Mod
Tammy,
Thank you for the kind words. I'm glad you got it working. - MoonDog - |
Re: Recently Viewed Mod
MoonDog, great mod and i am using this mod on x-cart 4.1.3 and does work ok, but when i look at details on another product and then say go back to home, only the recent product shows. I can not get any more than one product showing at a time, even if i view 10 products, i only just show the last product viewed.
I have followed your code 100%, just changed the bit at the botom of the skin1/main/product.tpl file which is: Code:
<script type="text/javascript"> The extra code is to use my default x and y thumbnail settings in the admin section and to also give a full description of the product when you place your mouse over the image. Anyway back to the problem, i think that some how its resetting its cookies, every time i look at another detail description, the box is then blank (nothing written or no picture) then go to another product and then the last item i looked at is shown and so on. So i only see one product only not 4 products no matter how many times i go to other detail descriptions, only the last one shows. Any ideas please ? Oh you can find this at http://www.theshisha.com/shopcart/home.php and try this for yourself and see what i mean. The recent view box is to the right and under the product review box. |
Re: Recently Viewed Mod
Thanks MoonDOg.
It's great. |
Re: Recently Viewed Mod
Very nice. I have been looking for something like this. :)
|
Re: Recently Viewed Mod
um MoonDog, you're an animal dude! Awesome mod.
3 cool requests that add value to this mod: 1. How do I use language labels instead of hardcoding the "Recently view" ? Where? and How? 2. Instead of an empty Recently View box, NOT show it at all until there's been some products view. "if products have been viewed, show "Recently View" box, else, dont show it yet". How do I do that? 3. ONLY show the "recently view" box...in the product details pages. That way I dont have the box everywhere on the site. |
Re: Recently Viewed Mod
I am having a little trouble with this mod, instead of "ё" I get "О©╫".
You can see the problem here www.tilehq.co.uk Any ideas how to fix? Thanks, Colin |
Re: Recently Viewed Mod
My customer wants to have more than 4. He wants show 2 items and make up, down button to see others to scrool.
Does anyone can help me? I tryed but I can't. Help me please. Thank you all your help. |
Re: Recently Viewed Mod
Hi Moondog
Is there a secret to getting this to work with Telafirma Dynamic images? I show no thumbnails for some reason |
Re: Recently Viewed Mod
This part some how it is still use " products image " to show in list. How to make it use " Thumbnail " picture ?? some how many i try it still pink to product images and resize it .. which seem this quick fix wont work well it will slow down the loading time .. cuz of lage images.
Example : .. the image show in recently viewed follow by this kind of url " http://tinybeeonline.com/images/P/SCAN0018.jpg " .. i think it should show as " http://tinybeeonline.com/images/T/SCAN0018.jpg " .. i am not sure what to change to make this happen i try a lot of way still not work .. i change the type="P" to type="T" still not work .. Code:
Reguarding my post .. i just edite to add some info to it .. I think i figure out why it does not show " Thumbnail " because the script that wrote cookies is on products.tpl .. i think it should be move to products list ( such as recomand products , products list when we click on catagories , related products .. ) those are show Thumbnail and we can get link from it post in cookies and display it out .. i am not sure how to this .. also we should do some check .. see if the products we view now already add to recent view cookies or not if not add new one else do not add .. |
Re: Recently Viewed Mod
Is there a way to call the head js instead of showing all this in the header? I have tried a few things and it does not seem to work.
Code:
{literal} |
Re: Recently Viewed Mod
Hey Moondog
This is a really nice mod. Thanks heaps! It fits nicely with what I want and works smoothly. I have a tabbed product menu and modified the menu and dialog templates and it does not seem to cause any problems. Are people still having those issues? I also seemed to get it to work left side without any modifications that you suggested in #42, have you modified the code recently? Cheers peter |
Re: Recently Viewed Mod
i like this mod too and kudos to the person who developed it. i'm having an issue with the size of the images.
i had previously edited product_thumbnail_cust.tpl so that all of my thumbnail images would be a specific height. with this mod, sometimes the images display correctly in the left column. other times, it displays the full size image...but it's random. any ideas as to why? i encounter it primarily in IE7. |
Re: Recently Viewed Mod
I believe the size changes are in the css file. Looking back at this thread it shows to put this in you css
Code:
.recently {text-align:center;} See the 2nd line change the size there. |
Re: Recently Viewed Mod
yep...i was missing a ; in the skin. thanks
|
Re: Recently Viewed Mod
my thumbnails aren't displaying securely. anyone know how to make sure the images show in https so that when a customer is logged in they wont get the security warning?
|
Re: Recently Viewed Mod
MoonDog,
I added everything you said and I still cant get it to work on my site. I am running version 4.1.9. My site is www.thefizix.com/store. thanks |
Re: Recently Viewed Mod
anyone figure out how to secure the images yet?
|
Re: Recently Viewed Mod
Neaisha
It goes in the script that you have to put in the product.tpl file <script type="text/javascript"> prodImage='{include file="product_thumbnail.tpl" productid=$product.productid image_x=25 product=$product.product type="P" tmbn_url=$product.tmbn_url id="product_thumbnail" }'; prodName='<{$product.product}>'; var p0=('<table><tr><td align = left><a href="'+document.URL+'">'+prodImage+'</a></td><td width = 100%><b><a href="'+document.URL+'">{$product.product}</b></a><br/>ё{$product.taxed_price}</td></tr></table>'); </script> you set the image_x to the size you want. see my dev site to view the 25px size images I use peter |
Re: Recently Viewed Mod
hey peterstagg,
no, i wanted to know how to secure the images. right now in IE7, this code displays the images in http vs https. i wanted to know if there's a way to may sure they're displayed securely? |
Re: Recently Viewed Mod
took me forever to figure out where i was getting the security message but it's on this page...
https://www.mysite.com/xcart/cart.php?mode=checkout the thumbnails are the only images in http not https and you get the popup in IE as a result. i think it has to do with the cookie. given that the images are initially viewed in http mode, they are therefore going to display insecurely. is there anyway to fix this? hmm...so in the code this is how the thumbnail is being called - prodImage='<img src="{$product.tmbn_url}"/>'; is there any way to make sure that the image is either always secure OR use if/then statements? |
Re: Recently Viewed Mod
Quote:
Neaisha, Have you figured this one out yet, im dying to know how to resolve this. |
Re: Recently Viewed Mod
unfortunately nope. i love the mod but this could be one of those things that sorta makes me want to remove it b/c it could impact sales.
|
Re: Recently Viewed Mod
jeanne
suggested the following code but it omits the images Code:
{if $cat le '0'} i was wondering if you could use something similar to this for the images but specify https_location? |
Re: Recently Viewed Mod
Is there a way I can call the thumbnail image instead of the product image? I don't want to have it re-size the images because they look grainy, especially in IE.
|
Re: Recently Viewed Mod
The only issue I'm having is when there is only 1 picture displayed. Below that pictures price it displays:
undefinedundefinedundefined. Any suggestions? Did I miss Something? |
Re: Recently Viewed Mod
ok, i'm still having the security warning in IE. i tried this code...
Code:
{if $current_location eq $http_location} |
Re: Recently Viewed Mod
grrrr.... I had this working perfectly before I installed newest version of xcart and now when I go to implement this mod I can't get my images to appear.
Any ideas? I do store them in file system and not database like I see mentioned earlier as a possible problem. |
Re: Recently Viewed Mod
|
Re: Recently Viewed Mod
moondog...
thanks for the mod. got it work on the first try. your instructions were perfectly detailed. i did notice as i was testing this, that so far 1 image that is now displayed in the r.v. box, is NOT the thumbnail like the others. is there are way to put image resizing in this mod? or least have it actually pull the thumbnail? not sure why that one particular image is pulling the 'product image' and not the 'thumbnail'. anywho, thanks again for the mod. take care. |
Re: Recently Viewed Mod
4.2 users will need to alter the product.tpl file to this:
Code:
<script type="text/javascript"> to show images in the list, and alter recently_viewed.tpl to this: Code:
{capture name=menu} to get the 'menu' to display in home.tpl |
Re: Recently Viewed Mod
I am also getting the same problem, previously mentioned a few times and currently with no solution, if anyone could be so bold as to provide the solution:
currently if no recently viewed products, you get 'you have no recent...' as intended. if you have 1 recently viewed product, the mod works - shows the thumb, title and price of the recently viewed product, but retruns 'undefinedundefinedundefined' underneath. if you have 2 recently viewed products, you get 'undefinedundefined' underneath. if you have 3 recently viewed products, you get 'undefined' underneath. if you have 4 recently viewed products, you get nothing underneath. this has been referred to as nullnullnull, nullnull and null in previous posts. anyone got the definitive answer please? |
Re: Recently Viewed Mod
Hi,
Anyone or anybody answer me, is it test on X-Cart Pro 4.1.9 & X-Cart Pro 4.1.11 ? Any help/inputs on this would be highly appreciated. Thanks to all. |
Re: Recently Viewed Mod
Hi MoonDog,
Thanks for this codes.Now It works fine for me. 1)But instead of an empty Recently View box, NOT show it at all until there's been some products view. "if products have been viewed, show "Recently View" box, else, don't show it yet". 2) Is it possible to display in central area after featured products on home page horizontally( Minimum 3 in a row)? How do I do that? Can anyone help me? Thanks to all again. |
Re: Recently Viewed Mod
Brilliant mode, thanks a lot for sharing. One thing I need to change. How can I hide recently_viewed.tpl if its no recently viewed product available?
Did anybody test it in IE 6? Many thanks |
Re: Recently Viewed Mod
Moondog, you are awesome,
I am not a programmer and I am modifying 4.1.11. My boss making me modify his xcart. If I mess this up, he will kill me. So, I just need to follow the code that you provide on post #1 and it should be working right? customer/home.tpl add these two lines of code in home.tpl Add the following code to the end of your customer/main/product.tpl Create a customer/main/recently_viewed.tpl file by using the following code: And finally, add the following code to the end of your skin1.css file: Also you mention, the file "news.tpl", is that for new product? I love to have it on the site too. By any chance do you know how to add "Let Customer choose number of products displayed on page" I read the forum, and still not getting it. http://forum.x-cart.com/showthread.php?t=38695&highlight=view+all I want to add "<pres/ 1 2 3 4 / next> view all" and a drop down Products 10 20 30 40 50 All Please please please help me! Thanks in advance. You can email me at royng2003@yahoo.com Roy |
Re: Recently Viewed Mod
Is it possible to display in central area after featured products on home page horizontally( Minimum 3 in a row)?
Any help from forum!!! Can anyone help me? Thanks to all. |
Re: Recently Viewed Mod
I added, but the thumbnails not show.
How come? |
All times are GMT -8. The time now is 06:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.