I am currently using your EAN for WooCommerce plugin alongside the Product Feed Pro for WooCommerce plugin. In the field mapping for the feed, I select “alg ean (Custom Attribute)” as the GTIN value. However, I’ve noticed that the GTIN field in the feed remains empty.
Could you please provide some guidance on resolving this issue? I want to ensure that the correct EAN values are reflected in the feed.
Thank you for your assistance.
]]>I’m having trouble adding a custom attribute data-page="home"
to the root <html>
tag of the homepage on my WordPress site.
First image. Here is the code to insert: data-page=”home”
The purpose is to indicate that this is the home page, and only on this page will the preloader be loaded.
Second image. Preloader targeting “Home” page
I’ve tried using the following code in my theme’s functions.php
file, but it doesn’t seem to be working as expected:
<span style="font-size: 14.4px;">function add_custom_data_attribute_to_home($output) {
if (is_home()) {
$output = preg_replace('/<html(.*)(?=>)/', '<html$1 data-page="home">', $output, 1);
}
return $output;
}
add_filter('language_attributes', 'add_custom_data_attribute_to_home');</span>
I’ve verified that I’m on the homepage when applying the code, but the data-page
attribute isn’t being added to the <html>
tag. Can anyone help me identify what might be going wrong or suggest an alternative solution? I greatly appreciate any advice you can provide.
Thank you for your time and assistance!
]]>Is it possible to insert additional attribute like the example above (data-prix) in an input field generated with your plugin ?
[checkbox activite_multisports_elementaires data-prix:134 "Multisports élémentaires (CP à CE2) - Lundi - 16h30 / 18h00 - 134 €"]
Thanks for your help
]]>I would like to use a shortcode described here:
[events_list scope="tomorrow" country="US"]<p>#_EVENTLINK will take place at #_LOCATIONLINK on #_EVENTDATES at #_EVENTTIMES</p>[/events_list]
But I would like to display custom fields _ATT{Moderation}. How to change the syntax?
thanks
]]>In my site, a person can have many different roles. For example, user A has the roles: “Role 1”, “Role 2”, and user B has the roles: “Role 2”, “Role 3”.
I want to add a custom attribute so that I can send push notifications to users with the role I want. In the above case I want that when I send a custom push notification to person with role 2 both person A and B receive it.
I tried following the instructions in the attached link, but when checking in the Web Console, the custom attribute value shows as “Array”. And if I use the API to send notifications, all the role 1, 2, 3 attributes don’t work. But if I set the attribute as “Array”, the notification is sent. Was I doing it wrong?
Thank you!
]]>A question if I may: CTX Feed does not seem to support fb_product_category attribute.
The field is not required (if google_product_category is present which IS available), but helpful in many cases.
Am I correct? Is there any way to add custom attributes?
I thank you in advance
Kind Regards
So I want to know how we can add any custom attribute to the form tag in your plugin? Is there any way to do that, or can you provide such option in your plugin as an additional feature ?
Thanks
Hozefa
I need a help in achieving the following with your plugin. I’ve just started to experiment with WooCommerce so apologies for asking “stupid” questions.
I’d like to generate an availability feed in XML format with the output as written below.
I need to replace root element <SHOP> with <item_list>…</item_list> and create a custom attribute <item id=…> with the variable [Product_id].
Is it possible with your plugin? Thank you very much in advance.
<item_list>
<item id=”[Product_id]”>
<stock_quantity>13</stock_quantity>
</item>
</item_list>
if I have #_ATT{isOnSale}{Default No|Yes} custom attribute. Can I list with [event_list] shortcode all the events that have custom attribute value “yes”. If so, how?
]]>