chefnelone
Forum Replies Created
-
Just in case you need to inspect the page: [ link moved to the link field, next time use that ]
- This reply was modified 3 years, 3 months ago by Jan Dembowski.
Hi,
Thanks, but there are no error log for WPFM.
Is there a chance you can login in my site and take a look?
Hi,
Well, is happening in my site.
Where exactly is the error log?Thanks.
Forum: Plugins
In reply to: [WooCommerce] Is there a hook fired when a woocommerce coupon is created?Hi Katerna,
I enabled the plugin but I see a lot of hooks in the coupon creation page.
Not sure how to use this.Hi Rafi,
No, it doesn’t fix the issue.
Forum: Plugins
In reply to: [WooCommerce] Is there a hook fired when a woocommerce coupon is created?Hey!
I expected to see the text at the top of the page. Maybe I should use something else to output this in chrome console. Can you tell me how to do this?
I need to fire an action to create another coupon code in a booking system which has its own coupon system. Sort of coupon systems synchronization.
Thanks!
- This reply was modified 3 years, 3 months ago by chefnelone.
Hi,
Sure, here: https://drive.google.com/file/d/1bGPEdb1hwHKzD6fwxqAY_Y_qJxwp5swJ/view?usp=sharing
- This reply was modified 3 years, 3 months ago by chefnelone.
Hi,
I think now that the issue is caused by the WPML plugin. My site have three language. I need to create a feed just for one language. Can I do this with the free version?
It seems that the problem is related to this issue:
[Fri Dec 03 17:11:55.535846 2021] [proxy_fcgi:error] [pid 2122:tid 139826929911552] [client 83.57.96.187:50458] AH01071: Got error 'P message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2062PHP message: PHP Warning: fputcsv(): delimiter must be a character in /usr/home/mysite/www/wp-content/plugins/woo-product-fe
No price rule.
This a product: https://gpcrear.com/producto/etiqueta-regalo-bebe-con-gallina-y-pollito/
Here the feed: https://gpcrear.com/wp-content/uploads/woo-product-feed-pro/xml/0vQK9H2PO8NUWPw3Ho9fvSopygVacrF9.xml
If you look for <g:id>21363</g:id> you will see the price: 0€
Hi,
It is mapped to “price”, take a look: https://drive.google.com/file/d/1yQQZtx1B7qMsCxYIzZqg55TFLAgL2BEw/view?usp=sharing
- This reply was modified 3 years, 3 months ago by chefnelone.
Forum: Plugins
In reply to: [WooCommerce] Is there a hook fired when a woocommerce coupon is created?It seems now that I should not add this code code as I said avobe. My mistake.Then the error is irrelevant since I delete the code
But then this hook should print “It works” at the coupon creation. But it does not print the text.
function after_new_coupon_created( $coupon_id, $coupon ){ echo "It works"; } add_action( 'woocommerce_new_coupon', 'after_new_coupon_created', 10, 2 );
Forum: Plugins
In reply to: [WooCommerce] Is there a hook fired when a woocommerce coupon is created?I just try adding the code in functions.php but there is something wrong in these code. My site shows a critical error message:
“Fatal error: Cannot declare class WC_Coupon_Data_Store_CPT, because the name is already in use in /usr/home/t16/www/wp-content/themes/flatsome-child/functions.php on line 708”.
Line 708 is this:
class WC_Coupon_Data_Store_CPT extends WC_Data_Store_WP implements WC_Coupon_Data_Store_Interface, WC_Object_Data_Store_Interface {
Forum: Plugins
In reply to: [WooCommerce] Is there a hook fired when a woocommerce coupon is created?It seems like implementing this code: code will allow me to use a hook like this:
function after_new_coupon_created( $coupon_id, $coupon ){ // your code here. } add_action( 'woocommerce_new_coupon', 'after_new_coupon_created', 10, 2 );
Should I create custom plugin to embed the code? Are an easier way to add this code?
- This reply was modified 3 years, 3 months ago by chefnelone.
- This reply was modified 3 years, 3 months ago by chefnelone.
- This reply was modified 3 years, 3 months ago by chefnelone.
Forum: Plugins
In reply to: [WooCommerce] Create account automatically on checkout for guest userThis one is abandoned https://www.ads-software.com/plugins/auto-register-for-woocommerce/