Comments on: [wcj_current_datetime] https://booster.io/shortcodes/wcj_current_datetime/ WordPress WooCommerce Plugin Thu, 09 May 2024 07:33:53 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: RokasJ https://booster.io/shortcodes/wcj_current_datetime/#comment-40150 Sun, 19 May 2019 12:02:44 +0000 https://booster.io/?p=9732#comment-40150 In reply to Shannon.

Hi Shannon,

Unfortunately there isn’t one yet but we have added it to our to-do list.

Best regards,
Rokas – Support Team

]]>
By: Shannon https://booster.io/shortcodes/wcj_current_datetime/#comment-40128 Sat, 18 May 2019 19:55:35 +0000 https://booster.io/?p=9732#comment-40128 Is there any method of pulling the date/time from the most recently added or updated product.

For example:
[wcj_current_datetime before="Catalog Updated: "]

]]>
By: deft1z https://booster.io/shortcodes/wcj_current_datetime/#comment-27826 Thu, 06 Sep 2018 15:15:35 +0000 https://booster.io/?p=9732#comment-27826 thanx for the reply, RokasJ

it did worked for woocommerce 3, but crashed the site (white screen) for woocommerce 2.6.8.
I need that thing exactly for woocommerce 2.6.8. – maybe there is another shortcode me to help?

]]>
By: RokasJ https://booster.io/shortcodes/wcj_current_datetime/#comment-27822 Thu, 06 Sep 2018 13:00:11 +0000 https://booster.io/?p=9732#comment-27822 In reply to Alex.

Hi Alex,

Can you try using this:
<offer available=”[wcj_product_stock_status outofstock="false" instock="true"]” id=”[wcj_product_id]″>

Best regards,
Rokas – Support Team

]]>
By: Alex https://booster.io/shortcodes/wcj_current_datetime/#comment-27709 Tue, 04 Sep 2018 19:08:57 +0000 https://booster.io/?p=9732#comment-27709 In reply to Alex.

Yes! Thats worked for me – now the datetime is displaying correctly
Thank You very much

I got one more question – in the xml file I need to show product stock status like true | false
(<offer available=”true” id=”6203″> – if the product is in stock or <offer available=”false” id=”6203″> – if it out of stock)

Tried to use [wcj_product_stock_availability] – but it is something different – maybe I should use custom shortcode – but do not know how

Thank You in advance

]]>
By: Booster Support Team https://booster.io/shortcodes/wcj_current_datetime/#comment-27673 Tue, 04 Sep 2018 10:03:36 +0000 https://booster.io/?p=9732#comment-27673 In reply to Alex.

Hi again Alex,

I’ve just made the required changes to the plugin. Please download the development version here – https://booster.io/dev/. You will need to uninstall the old plugin version first (don’t worry your saved settings won’t disappear). If you are a Booster Plus user – please let me know (on tom@booster.io) your order number, and I will send you the development version for Plus.

Now you can use HTML entities in Products XML Feeds module’s XML header and footer, so this (i.e. replacing < with &lt; and > with &gt;) should solve the issue:

&lt;yml_catalog date="[wcj_current_datetime datetime_format="Y-m-d H:i:s"]"&gt;

Please let me know if there are still any issues.

P.S. If you like Booster, please consider leaving us a rating.

Best regards,
Tom

]]>
By: Booster Support Team https://booster.io/shortcodes/wcj_current_datetime/#comment-27653 Mon, 03 Sep 2018 21:30:37 +0000 https://booster.io/?p=9732#comment-27653 In reply to Alex.

Hi Alex,

I’ve just tested and you are correct – there seems to be some problem when using shortcodes inside html tag in header – will be fixed in next Booster update (update planned at the end of this week).

Best regards,
Tom

]]>
By: Alex https://booster.io/shortcodes/wcj_current_datetime/#comment-27484 Thu, 30 Aug 2018 23:13:54 +0000 https://booster.io/?p=9732#comment-27484 Hello! I cannot add shortcode [wcj_current_datetime] to the head of xml file. How should i do this so it will be like this:

yml_catalog date=”2011-07-20 14:58″

Thank You in advance

]]>