inewton24
Forum Replies Created
-
Forum: Reviews
In reply to: [WC Price History for Omnibus] Great plugin!I wrote this code and it works ??
U can add this snippet as option in ur plugin to options page and add in code some variables as “Minimal price text” and other textsfunction add_price_history_to_cart_item( $product_name, $cart_item, $cart_item_key ) {
// Get the product ID
$product_id = $cart_item[‘product_id’];// Append the price history shortcode below the product price $price_history = do_shortcode( '[wc_price_history id="' . $product_id . '"]' ); // Return the product name with the price history appended return $product_name . '<div class="wc-price-history">' . $price_history . '</div>';
}
// Hook into WooCommerce to modify the product name in the cart
add_filter( ‘woocommerce_cart_item_name’, ‘add_price_history_to_cart_item’, 10, 3 );Forum: Reviews
In reply to: [WC Price History for Omnibus] Great plugin!I think this will definitely be a good option! Some shops already have price history on cart page and checkout page. Usually the lowest price is simply listed below the regular price
Forum: Plugins
In reply to: [Save as PDF Plugin by Pdfcrowd] Not all images renderedIt works! Thank you. I did try a lot of js scripts and more than 8 plugins, but your plugin is best way to make pdf from pages. Really.
Forum: Plugins
In reply to: [Save as PDF Plugin by Pdfcrowd] Not all images renderedI found the problem – it is lazy loading images. I don’y know why some images loaded good with lazy and some did not load.
Forum: Plugins
In reply to: [WP Super Cache] there is no support for webpYes, do it please
Webcraftic Robin image optimizer – Version 1.0.8
Webcraftic Clearfy – 1.3.184I see new versions of plugins, i think this feature is fixed. Thnx for reply!
Hello, u made awesome plugin! But i have a problem with resize feature. My images are above 5mb, but all have large width and height: 4800×6000, size 3-4 MB. Resize feature not work ??
Forum: Plugins
In reply to: [WooCommerce] Product thumbnail size not editable after last updateHello all! I have a big problem, filter for custom gallery thumbnail size not working.
If i add this code – thumbnails become 150x150px.
add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
return array(
‘width’ => 80,
‘height’ => 130,
‘crop’ => 0,
);
} );
If i add this code to class-storefront.php and delete first code, gallery thumbnails become 80×80.
// Declare WooCommerce support.
add_theme_support( ‘woocommerce’, apply_filters( ‘storefront_woocommerce_args’, array(
‘single_image_width’ => 480,
‘thumbnail_image_width’ => 275,
‘gallery_thumbnail_image_width’ => 80,
‘product_grid’ => array(
‘default_columns’ => 3,
‘default_rows’ => 4,
‘min_columns’ => 1,
‘max_columns’ => 6,
‘min_rows’ => 1
)
) ) );
Please, help me, i dont know what to do with this mega usefull thumbnails update ??