add_action( 'woocommerce_thankyou', 'whatconverts_tracking' ); function whatconverts_tracking($order_id) { if ($order_id > 0) { $order = wc_get_order($order_id); if ( $order instanceof WC_Order ) { $completion_date = empty($order->get_date_paid()) ? strtotime($order->get_date_created()) : strtotime($order->get_date_paid()); $current_date = new Datetime(); $time_difference = $current_date->format('U') - $completion_date; if ($time_difference < 180) { $email = $name = $phone_number = $company = $address_1 = $address_2 = $city = $state = $postcode = $country = ''; if (!empty($order->get_billing_email())) $email = $order->get_billing_email().' '; if (!empty($order->get_billing_first_name())) $name .= $order->get_billing_first_name().' '; if (!empty($order->get_billing_last_name())) $name .= $order->get_billing_last_name(); if (!empty($order->get_billing_phone())) $phone_number = $order->get_billing_phone(); if (!empty($order->get_billing_company())) $company = $order->get_billing_company(); if (!empty($order->get_billing_address_1())) $address_1 = $order->get_billing_address_1(); if (!empty($order->get_billing_address_2())) $address_2 = $order->get_billing_address_2(); if (!empty($order->get_billing_city())) $city = $order->get_billing_city(); if (!empty($order->get_billing_state())) $state = $order->get_billing_state(); if (!empty($order->get_billing_postcode())) $postcode = $order->get_billing_postcode(); if (!empty($order->get_billing_country())) $country = $order->get_billing_country(); echo ''; } } } }
Free Shipping over $100

ABOUT ROYAL SLEEP

At Royal Sleep, we hold the view that quality sleep is essential for an excellent life. Since 2013, we have dedicated ourselves to crafting mindful products that can revolutionize your life. Our aim is to empower you to achieve more, aspire more, and become more – all while minimizing our environmental footprint.

OUR TECHNOLOGY

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

We have high quality ergonomic mattresses and pillows designed to alleviate back pain, alongside fashionable and practical furniture, as well as the most comfortable bedding, we craft products that not only feel wonderful but also make a positive impact.

mattress

Innovative

Technology

Hyper-elastic

Material

Sustainable & Ethical

Hassle-Free

Premium Products

Easy To Buy

OUR BELIEF

Better Sleep, Better World

Royal Sleep mattresses offer a blend of comfort and innovation, essential for enhanced sleep quality. With ergonomic designs and premium materials, these mattresses adapt to your body, providing exceptional support. Feel refreshed and rejuvenated, thanks to the superior comfort and alignment with your sleeping needs. Royal Sleep isn’t just about resting; it’s about transforming your sleep into a rejuvenating nightly experience.

AUSSIE’S BEST

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Royal Sleep mattresses cater excellently to both children and adults, balancing durability and comfort. Designed to support growing bodies and withstand energetic kids, they’re also hypoallergenic, promoting a healthy sleep environment. For parents, they offer the perfect blend of firmness and softness, essential for restful nights amidst family life. Royal Sleep ensures that every family member enjoys a rejuvenating sleep experience.

GIving back to the planet

Our Mission Is To Help Plant And Protect With Every purchase Order

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla