Replies: 0
Hi there!
I found a BUG WARNING:
1-‘WC_Product::get_dimensions’, ‘3.0’, ‘By default, get_dimensions has an argument set to true so that HTML is returned. This is to support the legacy version of the method. To get HTML dimensions, instead use wc_format_dimensions() function. Pass false to this method to return an array of dimensions. This will be the new default behavior in future versions.
You should change wpc-smart-compare.php on line 1156 from
$wooscp_products_data[ $wooscp_product ][‘dimensions’] = $product->get_dimensions();
to
$wooscp_products_data[ $wooscp_product ][‘dimensions’] = wc_format_dimensions( $product->get_dimensions( false ) );
———SUGGESTION——–
This is a very good plugin, but in order to be great I suggest the following:
1. Option to disable Delete All Confirmation Dialog after clicking the red delete all button. Make it optional
2. Replace the confirm() dialog with sweetalert
3. When Adding or Removing Items you should put preloaders on each step. It is not good when the “Open compare table immediately” option is disabled. As the item does not appear instantly on the bar, a preloader must be used.
For instance: when clicking the ADD button a preloader should appear for the Add icon and you could use a placeholder image with a preloader on item bar at the same time. In case of removing an item the preloader appears on the item been removed and when removing all items the preloader appear for all items.
4.Maybe delete all button could be removed on mobiles. As there is not enough space
I will be more than happy to give you 5 starts if any of these improvements are implemented.
Best Regards