warblr
Forum Replies Created
-
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Review Grid with Media?Hello? I would really appreciate an answer to my query. Thank you.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Review Grid with Media?Hi. I would really appreciate your help with this. I am hoping to have video reviews showing on the grid layout. Is this not currently built?
Thanks for your help.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Review Grid with Media?I did not have images, only videos. I uploaded an image per your suggestion, and yes it is working in the grid. However this doesn’t help me much.
My product, which is a health supplement (https://fructosecontrol.com) benefits greatly from video reviews where people can explain their experience with the product, but not at all from images.
Is there a particular reason why the grid shows images and not video? Can this be added, or is it a bug? Thank you very much for your help.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Review Grid with Media?I don’t see the media, including in the source code. Is there anything that could be disabling it? My shortcode reads:
[cusrev_reviews_grid count=”3″ show_products=”false” product_links=”false” sort_by=”date” sort=”DESC” categories=”” product_tags=”” products=”KIT90, SUG90″ color_ex_brdr=”#fff” color_brdr=”#fff” color_ex_bcrd=”#fff” color_bcrd=”#fff” color_pr_bcrd=”#fff” color_stars=”#000″ shop_reviews=”true” count_shop_reviews=”1″ inactive_products=”false” avatars=”none” show_more=”6″ min_chars=”0″ show_summary_bar=”false”]
Thanks for your help.
Forum: Plugins
In reply to: [PDF Builder for WPForms] Import Existing PDFThis is good to hear. As an interim solution is it possible to use an image capture of the original PDF and then overlay form fields on top?
Thank you for your response!
OK I made a change directly to the packing-slip.php file (Simple template) that seems to be working:
$items = $this->get_order_items(); usort($items, 'compareItemByName'); function compareItemByName($a, $b) { return strcasecmp($a['name'],$b['name']); }This seems to have corrected the sort to what I am looking for.
Is there anything else you would recommend? I feel like this template will likely be overwritten by a future plugin update, but I can’t seem to find instruction on how to properly create custom templates. Could you point me in the right direction?
Thanks so much.
- This reply was modified 6 years, 6 months ago by warblr.
Pardon me. I changed the hook from what was in the previous thread, trying to get it to work. The following which you recommended in that threat also isn’t working:
https://wordpress.org/support/topic/alphabetical-order-issue/
add_filter( 'wpo_wcpdf_order_items_data', 'wpo_wcpdf_sort_items_by_name', 10, 2 ); function wpo_wcpdf_sort_items_by_name ( $items, $order ) { usort($items, function ($a, $b) { return strcmp($a['name'], $b['name']); }); return $items; }Thanks for your help. We have staff running all over the warehouse right now because everything is designed to be picked in alphabetical order, so you can be a big help in resolving the chaos! Thank you!