gore.m
Forum Replies Created
-
I have valid subscription and all plugins updated .-)
To be sure I ask you: Where can I register to WPML forum (I can not find it)? On WPML page is only login and I dont have login information that is because – I think – Im on affiliate license only.I found out problem with “product” slug string translation, I found out that after I deleted this version of product slug string
WordPress / _ / URL slug:productI was not able to translate product slug string on “Store URLs” page. But I was able to translate it after I re-saved permalinks and it was because after that product slug stringWordPress / _ / URL slug:productshow up again. So it seems that this string is responsible…But now I have same problem on cart page…
Hello George,
thanks you for your reply.
OK I found out this slug 3 times (all right translated):
Domain / Contect / Name:
woocommerce / default-slug / _
WordPress / _ / URL slug:product
woocommerce / slug / _After I deleted them, I went to “Store URLs” and I translated slug – everything looked fine – plus icon was changed to pencil, but URL slug on front end was not translated, so I went back to “Store URLs”, there was plus icon again, so I repeated proces… but it doenst work, everytime I reload “Store URLs” page, there is plus icon and empty translation again.
I have serial number but I cant register and open ticket on WPML forum (affiliate license).
Hello George,
no, I dont have any idea why it is happening.
– Slug is right translated.
– I switched to TwentySeventeen + all unnecessary plugins switched OFF, without success.Just add product to cart in default language (for me CZ), go to cart page and change language (for me to EN), if you hover product name or image, (you should have) I have in url (default language slug – for CZ) “produkt” slug, but than after I reload page and hover product name or image again, now there is “product” (right slug – for EN).
Ive tried
wp_content_dir()with the same resultFatal error: Uncaught Error: Call to undefined function wp_content_dir() in C:\wamp64\www\test\wp-content\themes\test\functions.php:950ABSPATHis working .-) Thanks youwoocommerce_email_attachmentsIm using it to attach pdf to emails, so it is not front end… is it wrong too?
If yes, is there an get_home_path() equivalent?
Thanks youFull Error Log:
[12-Nov-2018 18:11:05 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_home_path() in /hosting/www/example.com/www/wp-content/themes/test/functions.php:950 Stack trace: #0 /hosting/www/example.com/www/wp-includes/class-wp-hook.php(286): custom_email_attachments(Array, 'customer_on_hol...', Object(WC_Order)) #1 /hosting/www/example.com/www/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /hosting/www/example.com/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(399): apply_filters('woocommerce_ema...', Array, 'customer_on_hol...', Object(WC_Order)) #3 /hosting/www/example.com/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php(92): WC_Email->get_attachments() #4 /hosting/www/example.com/www/wp-includes/class-wp-hook.php(286): WC_Email_Customer_On_Hold_Order->trigger(1071, Object(WC_Order)) #5 /hosting/www/example.com/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL in /hosting/www/example.com/www/wp-content/themes/test/functions.php on line 950Thanks you @wfasa for you explanation .–)
Thanks you @mountainguy2
I did not notice “Block URLs” feature 🙂Forum: Plugins
In reply to: [WooCommerce] Invoice email subject filter doestn work…Thanks you @johndcoy!
Unfortunately it doesnt help. Ive tried delete all overriding templates and to switch to Twenty Seventeen + those two snippets:add_filter('woocommerce_email_subject_customer_invoice', 'email_subject_completed', 1, 2); function email_subject_completed( $subject, $order ) { global $woocommerce; $subject = sprintf( esc_html__( 'Details / invoice for your order #%s', 'test'), $order->get_id() ); return $subject; }or
add_filter( 'woocommerce_email_subject_customer_invoice', 'customizing_invoice_email_subject', 10, 2 ); function customizing_invoice_email_subject( $formated_subject, $order ){ return sprintf( esc_html__( 'Details / invoice for your order #%s', 'test'), $order->get_id() ); }Do you have any other idea?
Thanks youThanks you.
I submited new ticket with attachment on your helpdesk.
I just went to Woocommerce > Product > Attribute > Add: Custom product attribute and than set Value(s): to number, so for example:
“name”:”Chryzant\u00e9ma b\u00edl\u00e1 kopretina“,”value”:”10″Thanks you – it would be cool!
It is not extra plugin, it is Woocommerce > Product > Attribute > Add: Custom product attribute (I added 3 custom attributes).——–
Little more explanation:
We are flower shop, every bouquet/product is made from an number of flowers, we would like to print list of all flowers we need for selected array of orders.
So I thought, that the best idea is set custom product attributes (hide it on front end) and than export orders with products attributes. Or is there better way?Thanks you
- This reply was modified 7 years, 8 months ago by gore.m.
Forum: Fixing WordPress
In reply to: Problems with copying OL, UL, LI from MS Word document to pageHi, thanks you for your explanation, I thought, that it will be this problem, but I was curious, that _doc are working without problems on all platforms exclude WP.
I decided to rework all documents manually… it took me 4 days, but… it is done.
Thanks youOf yourse, thanks you .-)
Forum: Plugins
In reply to: [3CX Free Live Chat, Calls & Messaging] GDPR ComplianceWas GDPR fixed?
Thanks you