robincolbert
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Countdown based on order dateI’m going to dig into that direction!
Thank you alot, have a nice day!Forum: Developing with WordPress
In reply to: Countdown based on order dateThere is a place in My Account / Orders, where we can see the date of the last order :
<td class=”woocommerce-orders-table__cell woocommerce-orders-table__cell-order-date” data-title=”Date”>
<time datetime=”2021-02-17T11:52:23+00:00″>17 février 2021</time>
</td>Forum: Developing with WordPress
In reply to: Countdown based on order dateHi,
I am afraid I can’t answer these questions… Th orders are made in woocommerce, bt I do not know how to get specific infos and how to extract them in order to put them in a code.
Maybe I should find another solution… Would you have any ideas ?
Thank you so muchForum: Developing with WordPress
In reply to: Countdown based on order dateI think we are going to the right place!
Each customer only purchases one product in his lifetime.
It is a coaching program that lasts 90 days.
The reason I would need 2 timers is for each period:
Part 1 : the first 30 days, available instantly after purchase.
Part 2 : the days 30-60, available 30 days after purchase.
Part 3 : the last 30 days, available 60 days after purchase.How could I change the code so that it automatically applies to the purchase of each customer ?
Forum: Developing with WordPress
In reply to: Countdown based on order dateHi,
When I add the code to my page in HTML, it doesn’t really show anything, besides the code.
Also, is there a way for it to calculate based on a woocommerce purchase date, instead of a post date ?
I really can’t thank you enough for your help!
Forum: Developing with WordPress
In reply to: Countdown based on order dateI think the best solution is the one with the shortcodes, that way I can put the timer where I want on the page.
The site is private, and each user has his own custom homepage (where I would like the countdown to be displayed).
The theme I use is Astra, with the Elementor Pro builder.
Thank you !Forum: Developing with WordPress
In reply to: Countdown based on order dateHi,
Thank you for all your responses and the time you spend helping me.
I have no clue on how to make a function, and how to implement the method that you are describing me.
Where should I put this function ? On my page ?
Thank you very much,
RobinForum: Developing with WordPress
In reply to: Countdown based on order dateHi,
The last purchase is written in the customers woocommerce account. I don’t really know how to get this hook and how I could then use it. Is there a way I could do that ?
Forum: Developing with WordPress
In reply to: Countdown based on order date@bcworkz Hello,
Thank you for your feedback. When the countdown reaches zero, it can show 00, or disappear, it doesn’t really matter.
Your solution seems to be quite right, how could I implement it?
Thank you so much,
Best regards,
Robin