silenx
Forum Replies Created
-
Forum: Reviews
In reply to: [Classic Editor] Millions agree!Classic editor is irreplaceable
Forum: Plugins
In reply to: [WooCommerce] Custom Shop PageThank you.
I coded the things i want.
I put a piece of code here if someone want the same things.
file is archive-product.php copied from wordpress plugin directory to the child theme /wordpress dir ( as described in the above link ).... do_action( 'woocommerce_before_shop_loop' ); if ( is_shop() ) { echo ('<h3 style="color:#ff6b35;text-align:center;">CAT1</h3>'); echo do_shortcode ('[product_category category="cat1"]'); echo ('<hr>'); // .. and so on for all the category that i want to display else { woocommerce_product_loop_start(); if ( wc_get_loop_prop( 'total' ) ) { while ( have_posts() ) { the_post(); /** * Hook: woocommerce_shop_loop. */ do_action( 'woocommerce_shop_loop' ); wc_get_template_part( 'content', 'product' ); } } woocommerce_product_loop_end(); } // else end ...
Forum: Plugins
In reply to: [WooCommerce Product Fees] Not work with 0,000xxx product feesTemporary fix for people with my issue.
This solution seem working.file class-woocommerce-product-fees.php
line 52 must be:
if ( ” !== $fee_name && ” !== $fee_amount && $fee_amount >= 0 ) {difference is “the greater than or equal to” comparison operator.
Original one was only the major.Now is working with 0,XXX value
- This reply was modified 5 years, 11 months ago by silenx.
Forum: Plugins
In reply to: [WooCommerce Product Fees] Not work with 0,000xxx product feesAlso have this issue.
for example 1,5 is working, 0,5 no- This reply was modified 5 years, 11 months ago by silenx.
Forum: Plugins
In reply to: [First Order Discount Woocommerce] Discount on GuestI’ll write to you tomorrow. Thank you for now
Forum: Plugins
In reply to: [First Order Discount Woocommerce] DiscountThank you. Seem working with this update.
Have a good week ??Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Required FieldSorry, i didn’t expain well.
I mean the acceptance flag in woocommerce integration ( the one in the woocommerce order form )Forum: Plugins
In reply to: [YITH WooCommerce Badge Management] Update not workingConfirm broken update link
Forum: Plugins
In reply to: [WooCommerce PDF Invoices Italian Add-on] Fattura come defaultGrazie mille.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Role Levelsorry, found by myself.
ThanksForum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Print pdf page numberOk now work.
Thank you again ??
Now i have page number in every pdf page.Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Print pdf page numberYes, i have repeating footer.
my css for footer is:#footer { position: fixed; bottom: -1cm; left: 0; right: 0; height: 1cm; /* if you change the footer height, don't forget to change the bottom (=negative height) and the @page margin-bottom as well! */ text-align: center; border-top: 0.1mm solid gray; margin-bottom: 0; padding-top: 2mm; }
Example:
with an invoice of 4 page i get: the first page without footer, the second with 2/4 , the third 3/4 and the last 4/4With a single page invoice i have 1/1
Any idea?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Print pdf page numberi put into footer plugin options, not in the code ( admin.php?page=wpo_wcpdf_options_page&tab=general )
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Print pdf page numberThank you.
I added this to my css/* page numbers */
.pagenum:before {
content: counter(page);
}
.pagenum,.pagecount {
font-family: sans-serif;
}And now it work!
Only first page doesn’t show up page number.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Print pdf page numberYes, it’s a custom template, i will check for the css.
EDIT: no .pagenum in css- This reply was modified 6 years, 9 months ago by silenx.