Luká? Bachleda - LavaDESIGN
Forum Replies Created
-
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Designing with elementorMate, this is absolutely what I was looking for! Thanks a million.
Forum: Plugins
In reply to: [Booster for WooCommerce] Sequential order numbering suddanly deadI am afraid of renumerating the existing orders. The paygate, the invoice system etc. I am afraid, something will be wrong.
I can do the backup and try to renumerate at night…
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Fatal error after updateHey guys. So I have downloaded the 5.6 version of Complianz to my PC, upload it to FTP, replace the 7.0 version files. Then I rename the Complianz folder back to normal, everything went ok. Then I was able to upgrade the Complianz to 7.0.1 with standard manner. Dashboard->upgrades. The version 7.0.1 was automatically offered. Thank you, everything works fine now.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Fatal error after updateHi @jarnovos standardly yes, but I don’t know, why Complianz is self-reactivated, why change the name of folder back to normal ??
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Fatal error after updateThank you for a really quick help! However I don’t know, how to upgrade the complianz plugin. When I rename the folder in ftp back to “complianz-gdpr”, it is automatically activated and throw fatal error. So I am unable to upgrade the plugin with standard process (dashboard->upgrades). Thank you
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Proof of premiumHi mate, that’s absolutely what I need! Thank you
Hello, thanks for reply. However, meanwhile I have solved this issue with a help of AI. This is code, that works for me:
// custom discounts by user role function custom_role_based_price( $price, $product ) { $user = wp_get_current_user(); $user_role = $user->roles[0]; // Získání role prvního p?i?azeného u?ivateli $apply_to_sale_price = false; // True, pokud se sleva aplikuje na slevovou cenu, False pro p?vodní cenu // Kontrola, zda u?ivatel má specifickou roli if ( $user_role === 'voc2' ) { // Nahra?te 'role_slug' za slug po?adované role if ( $apply_to_sale_price && $product->is_on_sale() ) { $price = $product->get_sale_price() * 0.65; // Sleva na slevovou cenu (10% sleva) } else { $price = $product->get_regular_price() * 0.65; // Sleva na p?vodní cenu (10% sleva) } } if ( $user_role === 'voc1' ) { // Nahra?te 'role_slug' za slug po?adované role if ( $apply_to_sale_price && $product->is_on_sale() ) { $price = $product->get_sale_price() * 0.75; // Sleva na slevovou cenu (10% sleva) } else { $price = $product->get_regular_price() * 0.75; // Sleva na p?vodní cenu (10% sleva) } } return $price; } add_filter( 'woocommerce_product_get_price', 'custom_role_based_price', 10, 2 );
My custom roles is named “voc1” and “voc2”.
Forum: Plugins
In reply to: [WooCommerce] Woo app doesn’t take all ordersHello, thanks for reply.
Here’re order from 13th Dec .in our shop: https://snipboard.io/pfWMG9.jpg
However in statistics, there are 2 orders only: https://snipboard.io/RHhZUN.jpg
I can’t find the “Get system report” – doesn’t see something like this in woocommerce->status
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Filtering and ordering by ACFLol, I’ve got it. Thats a real rubber duck debugging ??
All I need to do is to add those two lines of codes ??$query->set('orderby', 'datum_zaciatku'); // zoradíme pod?a dátumu za?iatku $query->set('order', 'ASC');
Hello, I am sorry for late reply. This plugin is some extension to existing plugin?
Will it break our own pdf template? Thank youSure, you have absolutely catch a moment, while the site was down, according to my colleague error ?? Sorry, plz, try it now
Hello. We are using the WP Bakery page builder and WPML for translations. There are two languages – Slovak and Czech. And also mutlicurrency: €->SK and CZK (?eská koruna)->CZ.
Link to shop: https://www.esteri.sk and https://www.esteri.cz – please, check the SK version first.
There is your carousel, based on latest products, but I would say, products are selected randomly… ?
So you want see the problem everytime you open the page.
Here’s the screenshot:
https://snipboard.io/4DFytQ.jpg
The third product links to the correct SK URL of product, but the title of product is Czech (We have no symbol like ě and ? in slovak language)Forum: Plugins
In reply to: [Packeta] Packeta ru?í Comgate?akujem – do?asné rie?enie z Comgate – necha? vypnuté v?etky mo?nosti doru?enia, tym zabezpe?íme, ?e sa bude comgate zobrazova? v?dy a v?ade
Forum: Plugins
In reply to: [Packeta] Zadanie colnej deklarácie??akujem za odpove?. O akom ?asovom horizonte sa cca bavíme, kedy m??e ?lovek o?akáva? novú verziu pluginu aj s danou funkcionalitou? ?akujem
Forum: Plugins
In reply to: [Packeta] Packeta sa nespráva ako be?ny shipping?Zdravím, super. Ja som si u? ten filter spravil. Problém bol v priorite na danom hooku, trebalo nastavi? vy??iu + tro?ku prerobi? kód. V kone?nom d?sledku mám toto a funguje
add_filter('woocommerce_package_rates', 'shipping_based_on_country_subtotal_and_free_available', 9999999999, 2); function shipping_based_on_country_subtotal_and_free_available($rates, $package) { $condition = false; foreach (WC()->cart->get_cart() as $cart_item) { $product_id = $cart_item['product_id']; if (has_term( 30, 'product_tag', $product_id)) { $condition = true; } } // Loop through shipping rates for current shipping package foreach ($rates as $rate_key => $rate) { if ($condition) { $targeted_rate_id = array( 'packetery_carrier_zpointcz', 'packetery_carrier_106', 'packetery_carrier_zpointsk' ); if(in_array($rate_key,$targeted_rate_id)) { unset($rates[$rate_key]); } } } return $rates; }