Skip Navigation

[Closed] Shop archive is showing my view multiple times

This support ticket is created 8 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 7 years, 12 months ago.

Assisted by: Shane.

Author
Posts
#392518

The site I am currently working on shows woocommerce products

There is a view to create how and individual product looks and a view to show the catalogue of products with filters.

For this test page which just uses the views shortcode it works fine hidden link

but when I try to use this view with filters as the shop archive - it is displaying the whole lot multiple times .e.g on this page hidden link the view with filters shows 21 times (the amount of products in that category)

How do I make it show only once?

I want this to work on the whole shop and on category archives.

My current shop archive code is:

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
	<wpv-loop>
		[wpv-view name="Products With Filters"]
	</wpv-loop>
	<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]

I feel I'm missing something very simple, but can't figure it out.

#392686

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guy,

Thank you for contacting our support forum.

I took a look at the page and i'm not seeing any duplicates.

Are you still experiencing this issue ?

Please let me know.

Thanks,
Shane

#392921

Hi Shane

Yes I'm still experiencing the issue - but had to find another way to do it as meeting the client this afternoon. So for all the shop archives I'm currently using the Yith Ajax product filter - but would like not to have to use this workaround as it doesn't seem that fast and the results on test-shop-2 work faster.

Many Thanks

Guy

#393130

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guy,

Is it possible for you to setup a test site where we can do the debugging to see whats the issue ?

Please let me know.

Thanks,
Shane

The topic ‘[Closed] Shop archive is showing my view multiple times’ is closed to new replies.