milosztor
Forum Replies Created
-
Ok, now I can not edit on any account…
Forum: Plugins
In reply to: [PPOM - Product Addons & Custom Fields for WooCommerce] All Meta displaysFor example https://stolywood.pl/produkt/polaris/
Forum: Plugins
In reply to: [PPOM - Product Addons & Custom Fields for WooCommerce] All Meta displaysPlease take a look on those screenshots.
1st screen
DOSTAWKA PRAWA (options: TAK / NIE)
DOSTAWKA LEWA (options: TAK / NIE)
If you choose TAK, you can set WIDTHAnd if I choose NIE the default WIDTH 28cm shows in emails and cart. Our programmer hide it somehow manualy on the site but in email to our clients still it is visible (2nd screen). You can clearly see that I choose option NIE but still can see 28cm on the bottom. It should be not visible.
Forum: Plugins
In reply to: [Theme My Login] URLs under Login and Register formsThat’s right.
Forum: Plugins
In reply to: [Theme My Login] URLs under Login and Register formsForum: Plugins
In reply to: [Theme My Login] URLs under Login and Register formsAny ideas?
Forum: Plugins
In reply to: [WooCommerce] Hide last zero when 3 decimal points are setAny ideas?
The same :/
P.S. Can you make your plugin working with Polylang so I can make different text for each language?
EDIT:
I have added setTimeout() to alg-wc-pq-price-by-qty.js file and it is woriking well.
setTimeout( function() { jQuery.ajax( { type : 'POST', url : alg_wc_pq_update_price_by_qty_object.ajax_url, data : data, success: function( response ) { jQuery( 'p.price' ).html( response ); }, } ); }, 3000);
Forum: Plugins
In reply to: [WooCommerce] Hide last zero when 3 decimal points are setI visited that page. I have this code, but not working.
function remove_zeroes_from_price($price) { //$price = str_replace(',000', ',00', $price); $price = preg_replace('/(?<=\d{2})(0+)$/', '', $price); return $price; } add_filter('wc_price', 'remove_zeroes_from_price');
If I change $price with e.g. ‘75,000’ function preg_replace() working well but not with the $price. What can I do?
Commented str_replace() function works on $price.
It is a bug, the popup appears even if quantity is over minimal and refresh the page.
The problem occurs when I enable Price by quantity. Everything else can be default but when I check this, the input field working wrong even if I set to to 5000 ms or change Force JS to whatever.
I would like to see on live how the price is changing when I type a quantity but if I insert to small number and click add to cart I want to see a popup/info in a “cloud” that I have to insert min. X.
- This reply was modified 5 years, 4 months ago by milosztor.
Forum: Plugins
In reply to: [Theme My Login] URLs under Login and Register formsIt worked for lostpassword but not working for login and register :/
Forum: Plugins
In reply to: [Theme My Login] URLs under Login and Register formsI have changed urls but when I click e.g. log in button or get my new password, page reloads and nothing happens. My code to change link to e.g. lost password page:
function tml_action_url_lost( $url, $action, $instance ) { if(pll_current_language() == "en") { if('lostpassword' == $action) $url = '/en/lost-password/'; } return $url; } add_filter( 'tml_get_action_url', 'tml_action_url_lost', 10, 3 );
Forum: Plugins
In reply to: [Theme My Login] URLs under Login and Register formsI think I can change it by getting current language and filter action links but this code doesn’t work for me :/
function tml_action_url( $url, $action, $instance ) { if ( 'register' == $action ) $url = '/test/'; return $url; } add_filter( 'tml_action_url', 'tml_action_url', 10, 3 );
But how can I translate custom fields name by .po and .mo files?