SearchFit - Ecommerce Platform Live Chat Call Us Today! 888.398.4703

Last viewed items

 
Post new topic   Reply to topic    forums.searchfit.com Forum Index -> SearchFit Questions and Suggestions
View previous topic :: View next topic  
Author Message
warrior
2


Joined: 12 Mar 2006
Posts: 444

PostPosted: Tue Dec 20, 2016 4:51 am GMT    Post subject: Last viewed items Reply with quote

Is there a way to make a product group that shows the last viewed products to a customer?
Back to top
View user's profile Send private message Visit poster's website
mpetrov@searchfit
2


Joined: 07 Jul 2009
Posts: 199

PostPosted: Thu Dec 29, 2016 9:06 am GMT    Post subject: Reply with quote

You could use this example:
DYNAMIC_INCLUDE(PRODUCTS_GROUP, targetRecordIds=Storage:sfui.products.recentlyViewed, productTemplateType=TinyProductView.Mobile, appendToSelector=#recentlyViewedSlider, onEmptyRemoveSelector=#recentlyViewedContainer, onNotEmptyShowSelector=#recentlyViewedContainer)
Back to top
View user's profile Send private message
mpetrov@searchfit
2


Joined: 07 Jul 2009
Posts: 199

PostPosted: Thu Dec 29, 2016 9:52 am GMT    Post subject: Reply with quote

Here is full example from our release notes:
"Recently Viewed Items" HTML Example to be included in website templates:

<div id="recentlyViewedContainer">
<h5><b>Recently Viewed Items</b></h5>
<ul class="gridView"></ul>
DYNAMIC_INCLUDE(PRODUCTS_GROUP, targetRecordIds=Storage:sfui.products.recentlyViewed, productTemplateType=TinyProductView, appendToSelector=#recentlyViewedContainer .gridView, onEmptyHideSelector=#recentlyViewedContainer)
</div>

Let me know if you need additional assistance.
Back to top
View user's profile Send private message
warrior
2


Joined: 12 Mar 2006
Posts: 444

PostPosted: Thu Jun 15, 2017 8:27 am GMT    Post subject: Error Template Not Found when using dynamic last views Reply with quote

I got this error when implement the guide above

Template Not Found (type: TinyProductView)

Is there a way to create a custom template for these kind of group.

Here is the detail url

http://www.kwiekleven.nl/responsive.html
Back to top
View user's profile Send private message Visit poster's website
zeev
2


Joined: 09 Feb 2007
Posts: 1069

PostPosted: Thu Jun 15, 2017 11:47 am GMT    Post subject: Reply with quote

I am also interested in this code for a dev based system.
Also where can I find documentation for this DYNAMIC INCLUDE.
Back to top
View user's profile Send private message
mpetrov@searchfit
2


Joined: 07 Jul 2009
Posts: 199

PostPosted: Mon Jun 19, 2017 10:27 am GMT    Post subject: Reply with quote

Hello. Sorry for the delay. I managed to find the cause of this issue and i fixed it on your cart. It should work now as expected.

Let me know if you have more questions.
Back to top
View user's profile Send private message
mpetrov@searchfit
2


Joined: 07 Jul 2009
Posts: 199

PostPosted: Mon Jun 19, 2017 10:31 am GMT    Post subject: Reply with quote

Hello zeev here you can see examples and explanation of this feature:
http://forums.searchfit.com/viewtopic.php?t=4910
Back to top
View user's profile Send private message
zeev
2


Joined: 09 Feb 2007
Posts: 1069

PostPosted: Fri Jul 07, 2017 5:56 am GMT    Post subject: Reply with quote

I tried the grid view of recently viewed items and got message
Template Not Found (type: Group Type)
What does productTemplateType=RecentlyViewed mean?
If it is a Group Type in the definition of a group than the following are missing:
RecentlyViewed
customersAlsoBought


Last edited by zeev on Fri Jul 07, 2017 6:03 am GMT; edited 1 time in total
Back to top
View user's profile Send private message
gabe@searchfit
SearchFit Guru
SearchFit Guru


Joined: 23 Jul 2013
Posts: 95

PostPosted: Fri Jul 07, 2017 6:00 am GMT    Post subject: Reply with quote

Hi Zeev,

Where are you seeing this error?

Thanks,
Back to top
View user's profile Send private message
zeev
2


Joined: 09 Feb 2007
Posts: 1069

PostPosted: Fri Jul 07, 2017 6:06 am GMT    Post subject: Reply with quote

Look at http://www.jewishbazaar.com/scart/public/generated/user11/default.htm
Back to top
View user's profile Send private message
gabe@searchfit
SearchFit Guru
SearchFit Guru


Joined: 23 Jul 2013
Posts: 95

PostPosted: Fri Jul 07, 2017 6:46 am GMT    Post subject: Reply with quote

Hi Zeev,

We'll be updating your cart shortly with the fix for this bug.

Thanks,
Back to top
View user's profile Send private message
zeev
2


Joined: 09 Feb 2007
Posts: 1069

PostPosted: Mon Jul 10, 2017 5:01 am GMT    Post subject: Reply with quote

How do I create dynamic code for items that are on sale for the current category type? I want the same code to work on all catergory types.
Back to top
View user's profile Send private message
gabe@searchfit
SearchFit Guru
SearchFit Guru


Joined: 23 Jul 2013
Posts: 95

PostPosted: Tue Aug 01, 2017 9:33 am GMT    Post subject: Reply with quote

Hi Zeev,

You can use this code to show On Sale items pulled from the category where the code is placed:

<div id="onSaleContainer">
<h5><b>ON SLAE</b></h5>
<ul class="gridView"></ul>
DYNAMIC_INCLUDE(PRODUCTS_GROUP, productGroupType=OnSale, maxItems=3, productTemplateType=FeaturedNarrow, appendToSelector=#onSaleContainer .gridView, onEmptyHideSelector=#onSaleContainer, loadInParallel=1, targetScope=autoDetect)
</div>

You can specify the template by replacing this:

productTemplateType=FeaturedNarrow

with this:

productTemplateId=xx

Thanks,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.searchfit.com Forum Index -> SearchFit Questions and Suggestions All times are GMT - 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum