On this page demonstrated work of the table with cached data of the shop products. This way is good for fast showing to your shop customers all products. This is possible thanks to attribute ‘
mode‘ and its value ‘
to_json‘. But this way is not good for performance on weak servers if the table has a lot of products and columns, and if the server has not enough RAM and computing power, so always test how this works on your server. And in this mode filters created by filter-constructor doesn’t work and disabled.
Created by: [
woot id=8 mode=’to_json’ skin=simple]
{"mode":"to_json","ajax_url":"https:\/\/demo.products-tables.com\/wp-admin\/admin-ajax.php","selected_lang":"en_US","table_data":[],"heads":{"id":"ID","thumbnail":"Thumb.","post_title":"Title","price":"Price","gallery":"Gallery","average_rating":"Rating","add_to_cart":"Cart"},"hide_on_mobile":[],"cells_width":["1px","1px","auto","150px","300px","auto","1px"],"orders":{"id":"desc","post_title":"asc","post_status":"asc","post_date":"desc","post_modified":"desc","comment_count":"desc","price":"asc","regular_price":"asc","sale_price":"asc","sku":"asc","downloadable":"asc","weight":"asc","length":"asc","height":"asc","width":"asc","manage_stock":"asc","stock_status":"asc","stock_quantity":"asc","sold_individually":"asc","total_sales":"asc","review_count":"asc","menu_order":"asc","average_rating":"asc","sound_bitrate":"asc","sound_duration":"asc","sound_year":"asc","sound_artist":"asc","sound_info":"asc"},"editable":[],"custom_field_keys":[],"total_rows_count":10,"use_load_more":false,"css_classes":"","no_found_text":"","show_print_btn":0,"post_id":0,"compact_view_width":-1,"stop_notice":"","use_flow_header":1,"style":"","skin":"simple","pagination":{"position":"tb","next":{"class":"woot-btn","content":">"},"prev":{"class":"woot-btn","content":"<"},"input":{"class":"woot-form-control"}},"lang":{"loading":"Loading ...","no_data":"No Data!","error":"Error!","items":"Products","page":"Page","pages":"Pages","load_more":"Load More Products"},"per_page_sel_position":"tb","per_page_sel_pp":["10","20","30","40","50","60","70","80","90","100"],"print_css_url":"https:\/\/demo.products-tables.com\/wp-content\/plugins\/woot-products-tables\/assets\/css\/print.css","request_data":{"action":"woot_get_table_data","fields":["id","thumbnail","post_title","price","gallery","average_rating","add_to_cart"],"post_type":"product","wp_columns_actions":"woot_woocommerce_tables","table_id":8,"predefinition":"a:1:{s:5:\u0022rules\u0022;a:1:{s:15:\u0022not_by_taxonomy\u0022;s:15:\u0022product_cat:152\u0022;}}","filter_data":"","filter_provider":"woocommerce","orderby":"id","order":"desc","per_page":10,"current_page":0,"shortcode_args_set":"a:6:{s:2:\u0022id\u0022;s:1:\u00228\u0022;s:4:\u0022mode\u0022;s:7:\u0022to_json\u0022;s:4:\u0022skin\u0022;s:6:\u0022simple\u0022;s:6:\u0022action\u0022;s:23:\u0022woot_woocommerce_tables\u0022;s:13:\u0022no_found_text\u0022;s:0:\u0022\u0022;s:15:\u0022use_flow_header\u0022;i:1;}","woot_link_get_data":"[]"}}