Home Forums Plugins WooCommerce Photo Reviews All reviews Ajax

All reviews Ajax

  • Author
    Posts
  • #154208

    moran yerushalmi
    Participant

    Hello,

    Addition to the product review tab, I set all site reviews shortcode at the bottom of every product description.
    This slowed page loading to 6 sec, 11 sec for full load (without it my site load product page is 1-2 sec).
    Why the shortcode does not use Ajax (pagination_ajax set to ON)? and why it pulls data every time it loads (it is all site reviews, no need to update each and every time)?

    Can you please advise? or provide an Ajax code for shourtcodes?

    Shourtcode I used:
    [woocommerce_photo_reviews_form product_id=” hide_product_details=’off’ hide_product_price=’on’ type=’popup’ button_position=’center’]

    [wc_photo_reviews_shortcode comments_per_page=”20″ cols=”5″ cols_mobile=”2″ use_single_product=”off” cols_gap=””  product_cat=”” grid_bg_color=”” grid_item_bg_color=”#F5F5F5″ grid_item_border_color=”#F5F5F5″ text_color=”” star_color=”” order=”” orderby=”comment_date_gmt” show_product=”on” filter=”off” pagination=”on” pagination_ajax=”on” pagination_pre=”” pagination_next=”” loadmore_button=”on”  pagination_position=”” conditional_tag=”” custom_css=”” ratings=”” mobile=”on” is_slide=”” style=”masonry” masonry_popup=”review” enable_box_shadow=”off” full_screen_mobile=”off” overall_rating=”off” rating_count=”off” only_images=”” image_popup=”below_thumb”]

You must be logged in to see replies to this topic. Click here to login or register