Francisco
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Product Table Lite] “Sort by” translationThank you so much!
Forum: Themes and Templates
In reply to: [Kadence] Scroll to IDI see it left-bottom with a nice rounded shape blue style and very smooth. Do you apply some wizardry?
@danzmwl go to appearance -> customize and on the bottom of the left side menu there’s a panel that lets you add CSS statements which will override the current theme.
My solution for this topic is/*Cart page*/ .cart td:nth-child(6), .cart td:nth-child(4), .cart th:nth-child(4), .cart th:nth-child(6), .cart_totals .shop_table, .cart_totals h2, /*Hanging cart*/ .woocommerce-mini-cart__total, .header-cart-top-link-right, /*Checkout page*/ .checkout th:nth-child(2), .checkout tfoot, /*Order received page*/ .woocommerce-order-received tfoot { display:none; }
You can add css specially for small screen by putting the statements inside the media wrapper
@media (min-width: 530px) { .class { } }
I’ve tried https://github.com/FriendsOfPHP/PHP-CS-Fixer
but didn’t worked,
then, I’ve tried https://gist.github.com/theodorejb/763b83a43522b0fc1755a537663b1863
and it worked!
I don’t know all those svn, git stuff so I can’t help with the code
The affected files are
/wp-mpdf/mpdf/mpdf.php
/wp-mpdf/mpdf/classes/otl.phpIs there a php tool to fix this automaticaly? or a regex search and replace? There are 175 lines!
Forum: Plugins
In reply to: [WooCommerce Tools] Translation issuesI was somewhat confused. Basically there are lots of strings with “tfwctool” or “woo-tools” text domain instead of “woocommercetools” and a lot of strings missing in POT file.
Forum: Plugins
In reply to: [WooCommerce Tools] Translation issuesThat’s all
Forum: Themes and Templates
In reply to: [Kadence] Save amount product pageHi, which hook are you using?
I have no problem withadd_action('woocommerce_single_product_summary', 'ts_you_save', 10); function ts_you_save() { global $product; if( $product->is_type(array('simple', 'external', 'grouped') ) ) { $regular_price = $product->get_regular_price(); $sale_price = $product->get_sale_price(); if( !empty($sale_price) ) { $amount_saved = $regular_price - $sale_price; $percentage = ($amount_saved * 100) / $regular_price ; ?> <p style="font-size:16px;color:black;"> <b>You save: <?php echo wc_price($amount_saved)." (". round($percentage)."%)"; ?></b> </p> <?php } } }
(I did some tweaks to take advantage of woocommerce functions)
Forum: Plugins
In reply to: [YITH WooCommerce Points and Rewards] Problems with variable productsI’ve also problems with variable products. Can’t select variation when plugin is activated. It makes the site slows down too.
Forum: Reviews
In reply to: [Go] Need logo AND title on home page@konsider Indeed, this is not even a review but one particular limitation he doesn’t forgive. This speaks more about of him than about the theme.
Forum: Plugins
In reply to: [Quotes for WooCommerce] Another translation questionHi, Pinal, Yes I can place my translation there and its OK, but when I build a new site, I would like to just paste a child theme folder with all translations in there and not worry browsing through the WP folders. Its just more convenient. Thanks.
add_filter( 'load_textdomain_mofile', 'load_custom_plugin_translation_file', 10, 2 ); function load_custom_plugin_translation_file( $mofile, $domain ) { //echo('<pre>');print_r($mofile);echo('</pre>'); if ( 'woocommerce' === $domain ) { $mofile = WP_CONTENT_DIR . '/themes/kadence-child/traducciones/woocommerce-' . get_locale() . '.mo'; } if ( 'quote-wc' === $domain) //No lo encuentra :( { $mofile = WP_CONTENT_DIR . '/themes/kadence-child/traducciones/quote-wc-' . get_locale() . '.mo'; } return $mofile; }
Forum: Themes and Templates
In reply to: [Kadence] How to create a template for a CPTThat’s great. Aldo someone did a nice plugin that show hooks in place.
Forum: Themes and Templates
In reply to: [Kadence] WooCommerce product categories sidebar widget behaviorThanks!
Forum: Themes and Templates
In reply to: [Kadence] WooCommerce product categories sidebar widget behaviorSo this is the expected widget behavior on Kadence?
Forum: Themes and Templates
In reply to: [Kadence] WooCommerce product categories sidebar widget behaviorHello, Hannah, I ended up correcting the problem here by hammering some class definitions and dequeuing that js file, here is a link to a clean sandbox site with the issue.
Francisco