raulis
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] shortcodeYour plugin is useless without premium and has 0 functionality. WordPress repository should reflect functionality available for free, but I can only see paid functions.
I want to report you guys, so WordPress repository admins can evaluate if you comply with all rules. As it stands now, you give 0 free functionality, so I’m not sure why you even are allowed here.Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedI see in console. Not sure about GTM.
Would it be possible to add select_item event when item in catalog is clicked?
Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedI also noticed, that on every quantity increase there is an undefined event created. Not sure if it is intended so.
Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedHave also noticed, that quantity is not being added from catalog side.
- This reply was modified 10 months, 1 week ago by raulis.
Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedThat works perfectly now. Thank you.
Just to make sure, this code only gets run on woocommerce pages as it is a filter to your function that is run on woo pages only?Also how can I round up the value in cart/payment pages: https://drive.google.com/file/d/1jCUJDqmE0E5xbBTpKrEyUDrLZIFFk4VY/view?usp=drivesdk
And is it possible to add total discount value for whole cart event?
Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedI have managed to create and use the filter to add discount information like sale price and discount amount, but at the same time, I am getting several errors. Most likely because of my crooked code ??
Here is the code:add_filter( 'gtmkit_datalayer_item_data', 'gtm_kit_edit', $priority = 10, $accepted_args = 3 ); function gtm_kit_edit( $item_data, $product, $event_context ) { if ( is_product() ) { $discount_data = []; $sale_price = round(apply_filters('advanced_woo_discount_rules_get_product_discount_price', $product->get_price(), $product),2); if ($sale_price != $item_data['price']) { $discount = round($item_data['price'] - $sale_price,2); $discount_data = [ 'sale_price' => $sale_price, 'discount' => $discount, ]; $item_data = array_merge( $item_data, $discount_data ); } return $item_data; } return null; }
1) I am getting this crazy pile of code on the cart page for eample, catalog pages are also broken: https://drive.google.com/file/d/1A0OqDaJO1ckIyGQgfiWMtW3tOFdE0ufY/view?usp=drivesdk
2) Some undefined events started to be generated: https://drive.google.com/file/d/1oBYOWi4pPQA-61qaWl3azvXkhNM9Kwuo/view?usp=drivesdk
3) this ajax error appears when cart is not empty: https://drive.google.com/file/d/1vd1pBSXwFZSPjV4qlyDAmVJDnf_xU1K0/view?usp=drivesdk
Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedSorry for late replay. Could you please provide me an example of how does this work? How one would apply the filter and and add extra data to it?
Thank you!Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Discount is not countedThe plugin, I am using does not update price at back end. So, the discounted price will might not be reflected.
I found this documentation to get price:
https://docs.flycart.org/en/articles/7907342-developer-documentation
Have sent you direct email.
Have sent one more message. Please also check spam.
Message sent, thank you.
We are using this bundle plugin: https://woo.com/products/product-bundles/?utm_source=google&utm_medium=cpc&utm_campaign=marketplace_search_brand_row&utm_content=woocommerce_+product_+bundles&gad_source=1&gclid=CjwKCAiAvJarBhA1EiwAGgZl0JZzylRRF5fBQm6Wr2FwEblwM_7T_jxLNtTnzkvvdB1tCR92z6bshRoC1F4QAvD_BwE
How can I tell you website url in private?
BTW the add_to_cart event triggers if I add product from catalog, but it does not work on bundle products when I try to add product from single product page.
I am using my themes (woodmart) wishlist function. How does the trigger happen? Probably on some button click or by the specific css? I could add or change that if you would provide me more details on the topic.
We are also using Woocommerce bundle plugin from woo, strange that it have differant classed from other woo products.
Anyway, could you help us by providing what we would need to change or how should we go about this? We can also higher you guys to fix this, if that is an option.
Thank you.Forum: Plugins
In reply to: [Contact Form 7] Change style of error messagesThank you for response.
I know that, but were in code I can find this and what JS function can I use to do that (maybe you have something ready, li JS after send etc. functions). Also if I modify plugin code, can I do it inside child theme?
Thank you.