Home › Forums › Basel support forum › Products Grid or Carousel show only on product
Products Grid or Carousel show only on product
- This topic has 3 replies, 3 voices, and was last updated 8 years, 2 months ago by Artem Temos.
-
AuthorPosts
-
October 11, 2016 at 3:00 pm #5321
tjchamParticipantHi, as the styling for the thumbnails on Posts Carousel is deprecated (your spelling is wrong – it is depreciated) we tried the Products (grid or carousel) but whatever combination of items we only have 1 product in the carousel per page, even when we put the settings to 8 for items per page and slides per view.
October 11, 2016 at 4:23 pm #5328
Artem TemosKeymasterHello,
Thank you for reporting about this issue.
We just checked and see that it is bug in our newly created carousel. A fix will be included in our next update (in 6-8 days). Or if you need it ASAP you can add this code in the file
inc/shortcodes
'speed' => '5000', 'slides_per_view' => '1', 'wrap' => '', 'autoplay' => 'no', 'hide_pagination_control' => '', 'hide_prev_next_buttons' => '', 'scroll_per_page' => 'yes',
right AFTER this piece of code
function basel_shortcode_products($atts, $query = false) { global $woocommerce_loop, $basel_loop; $parsed_atts = shortcode_atts( array( 'post_type' => 'product', 'layout' => 'grid', 'include' => '', 'custom_query' => '', 'taxonomies' => '', 'pagination' => '', 'items_per_page' => 12, 'product_hover' => basel_get_opt( 'products_hover' ), 'columns' => 4, 'sale_countdown' => 0, 'offset' => '', 'orderby' => 'date', 'order' => 'DESC', 'meta_key' => '', 'exclude' => '', 'class' => '', 'ajax_page' => '',
Regards
October 15, 2016 at 2:55 pm #5512
michaelParticipantif( ! function_exists( 'basel_shortcode_carousel' )) { function basel_shortcode_carousel($atts, $content = '') { global $woocommerce_loop; $el_class = $speed = ''; $slides_per_view = $wrap = $scroll_per_page = $title_out = ''; $autoplay = $hide_pagination_control = $hide_prev_next_buttons = $output = ''; $posts = array(); extract( shortcode_atts( array( 'el_class' => '', 'posts_query' => '', 'speed' => '5000', 'slides_per_view' => '1', 'product_hover' => basel_get_opt( 'products_hover' ), 'wrap' => '', 'autoplay' => 'no', 'hide_pagination_control' => '', 'hide_prev_next_buttons' => '', 'title' => '', 'scroll_per_page' => 'yes', ), $atts ) );
Where do I make the changes here? These are if functions the way you’ve described the fix doesn’t make sense
October 15, 2016 at 4:46 pm #5520
Artem TemosKeymasterVery strange, are you able to provide us your FTP access so we could check this?
-
AuthorPosts
- You must be logged in to create new topics. Login / Register