| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Recently Viewed Mod | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||||
|
|||||||||
Re: Recently Viewed Mod
You have otherwise any idea why it wouldn't show recently viewed products?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info |
|||||||||
#32
|
|||||||||
|
|||||||||
Re: Recently Viewed Mod
Could it be related to the fact that I use DSEFU PRO?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info |
|||||||||
#33
|
|||||||
|
|||||||
Re: Recently Viewed Mod
Warwick,
Quote:
First of all, click on a product and view the product details. Then select another product and then view the product details for this product. Now look to see if you have an thumbnail, product title and product price displayed in your recently view box. If everything works it should display the first viewed product. If nothing shows up, then make sure that you have cookies enabled in your browser. See post #27 how to turn it on. Repeat the first two steps by reviewing two product details and see if there is anything now in the recently viewed box. If not, then most likely it's the code in your product.tpl file. Make sure that you have used the product.tpl file and not the products.tpl file. The second file has the letter s after product. Re-install the javascript code from post #1 to the very end of the product.tpl file. Make sure that there are no {literal} and {/literal} tags surrounding this code. Now repeat the first two steps again to see if this works on the recently viewed box. Hope this works. Quote:
I do know that 01bodyjewellery from post #20 is using CDSEO and I think it's similar and it's not affecting his site. Or maybe someone that uses DSEFU PRO and installed this mod can let us know if they have it working together. Good luck. - MoonDog -
__________________
X-CART Gold v4.1.8 |
|||||||
#34
|
|||||||||
|
|||||||||
Re: Recently Viewed Mod
Thanks for all your help and efforts, I tried all more than once but simply can't get it to show any recently viewed products. Seems I have to pass this mod
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info |
|||||||||
#35
|
|||||||
|
|||||||
Re: Recently Viewed Mod
Works great now. Thanks!.
Cya!
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
#36
|
|||||||||
|
|||||||||
Re: Recently Viewed Mod
Nice addition to my collection of mods, Good Work.
For those interested to have it horizontally use this: 1- Add to skin1.css Quote:
2- Create the recently_viewed.tpl with this: Quote:
Please note that I used the dialog.tpl instead of the menu.tpl. If you need to use the menu.tpl copy the code from the post#1. Another I put my javascript functions on common.js, so I had to rename them.
__________________
QdoxGroup X-Cart version 4.1.8 Pro HandsOnWebHosting. Web server Apache/2.0.52 (Red Hat) http://www.justinthenet.com/ |
|||||||||
#37
|
|||||||
|
|||||||
Re: Recently Viewed Mod
First, I want to say this is a great mod. Unfortunately, I can't get it to work. I thought becuase of XC SEO but when I disable XC SEO, it still not working (Plus, somebody else using the CD SEO and it works fine)
One more thing, I try to view source code of the product page and notice that there is no javascript display (notice that I did check to make sure that I place the code in correct file which is product.tpl ) THis piece of code did not display in the view source code: {******************* Recently View Mods *********************} <script type="text/javascript"> prodImage='<img src="{$product.tmbn_url}"/>'; prodName='<{$product.product}>'; var p0=('<br/><a href="'+document.URL+'">'+prodImage+'<br/>{$product.product}</a><br/>${$product.taxed_price}<br/>'); </script> {******************* END Recently View Mods *********************} If you guys can help me out, here is the link to my site: http://www.loyalgifts.com Thanks a lot for your help guys!
__________________
x-Cart Pro V4.1.8 |
|||||||
#38
|
|||||||||
|
|||||||||
Re: Recently Viewed Mod
Quote:
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info |
|||||||||
#39
|
|||||||
|
|||||||
Re: Recently Viewed Mod
congiothoang and Warwick,
I think I found the problem that might be causing anything to display on the Recently View menu box. I was viewing congiothoang's source code to see what might be causing the problem and I noticed that the include recently_viewed file is called before the product.tpl is called. The product.tpl has the javascript code that is required for the recently_viewed to display the recently viewed product. Therefore, nothing is showing up. So in order for the Recently Viewed mod to work, the menu box has to be located on the right side or at the bottom of the product page like in Qdox post #36. This mod will not work if it's located on the left side with the other menu boxes. My sincere apology for those who had problems when installing this mod on the left side of their webpage. Try it on the right side or on the bottom and it should work. I'll update post #1 to reflect this change. On another note, I installed XC SEO and it's working perfectly with this mod. I hope this fixes your problems. - MoonDog -
__________________
X-CART Gold v4.1.8 |
|||||||
#40
|
|||||||
|
|||||||
Re: Recently Viewed Mod
Moondog,
Any chance of modifying this so it will work in the left column? I have a 2 column layout and would love to have this feature.
__________________
Scott Merritt http://www.pegasuspublishing.com x-Cart Gold v4.1.9 Detailed Product Image Replacing Thumbnail Modv4.2.0 Gold test |
|||||||
|
|||
X-Cart forums © 2001-2020
|