Igor Szostek
Forum Replies Created
-
Thank you, i submitted a ticket.
For reference:
Wordpress version: 5.5.1
WooCommerce version: 4.6.1Hi, i’ve tried it just now, disabled everything except woo and flexible shipping, still nothing, it’s not rendering inside checkout at all.
I have tried to fill that, but every time i save form, this select input with (waga, cena) resets to default position (“Choose option”). Also it doesn’t change anything in checkout.
I found this problem, in inc/load.php in content-drip plugin, in the line 354 we have specific date switch case,
My wordpress is in polish language, so my date was in polish, because default behavior of this calendar from jquery is to translate months in input.i have this solution, its not ideal, but it works, best way would be to create an instance of i18n DateTime class and translate through that, somehow force calendar to load english names for this page.
$m_en = array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); $m_pol = array("Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"); $item['date'] = str_replace($m_pol, $m_en, $item['date']); $drip_items[$id]['date'] = strtotime($item['date']);
- This reply was modified 4 years, 6 months ago by Igor Szostek.
I believe problem is caused by editor stripping content of the mail from HTML tags, because whatever i put inside, <br/> or <u>, it disappears after save, only text remains.