Skip Navigation

[Gelöst] Views -> Slider – [wpv-woo-related_products], No Slider is created.

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.

This topic contains 3 Antworten, has 2 Stimmen.

Last updated by Nigel vor 2 Jahre, 7 Monate.

Assigned support staff: Nigel.

Author
Artikel
#1265989

I am trying to:
I am trying to create a slider from the related products shortcode [wpv-woo-related_products] using views - Display Results as Slider.

Link to a page where the issue can be seen:
hidden link

I expected to see:
Related products within a slider.

Instead, I got:
An unorganized list of related products.

#1266501

Nigel
Supporter

Languages: Englisch (English ) Spanisch (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-06-12 at 10.34.35.png
Screenshot 2019-06-12 at 10.31.23.png

In your Layout template for products you have a cell that includes the wpv-woo-related_products shortcode, that's what we are referring to, right?

That shortcode doesn't take any arguments to modify its output (https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-related_products), and it uses the WooCommerce API to reproduce what WC itself outputs for related products on standard product templates (second screenshot).

If you want to display a slider of related products then, in place of the wpv-woo-related_products shortcode, you would need to create a slider View for that of other products of the same category, for example.

#1268443

"If you want to display a slider of related products then, in place of the wpv-woo-related_products shortcode, you would need to create a slider View for that of other products of the same category, for example."

Yes, that is what I want. Now that we know what I want. Can you give me instructions or show me the documentation with for this specific topic?

#1268835

Nigel
Supporter

Languages: Englisch (English ) Spanisch (Español )

Timezone: Europe/London (GMT+00:00)

Hi Paul

Yes, sorry, here's the link to the documentation describing using Views to make a slider from posts: https://toolset.com/documentation/user-guides/creating-sliders-with-types-and-views/