Jump to content

Issue when calling a variable


Recommended Posts

Hello.

I'm trying to call the variable $formatted_date but I can't find the right way. Anyone knows how to do it ? 

Thanks

(Presta 1.7.5)

$deliveries	=
Array (2)
value => Array (1)
  0 => Array (1)
    0 => EDelivery Object (22)
       ->id_product = 378
       ->id_product_attribute = 0
       ->picking_date = "2021-09-01 00:00:00"
       ->delivery_min = "02-09-2021"
       ->delivery_max = "03-09-2021"
       ->delivery_cmp_min = "2021-09-02 00:00:00"
       ->delivery_cmp_max = "2021-09-03 00:00:00"
       ->initial_date = "2021-09-01 00:00:00"
       ->picking_limit = "15:00"
       ->picking_limits = Array (7)
        0 => "15:00"
        1 => "15:00"
        2 => "15:00"
        3 => "15:00"
        4 => "15:00"
        5 => "15:00"
        6 => "15:00"
       ->position = "0"
       ->id_range_weight = null
       ->id_range_price = null
       ->price = null
       ->is_free = null
       ->delay = "Livraison :"
       ->tot = false
       ->dp = DeliveryProduct Object (27)
         ->id_product = 378
         ->id_product_attribute = 0
         ->id_default_attribute = null
         ->id_category_default = 43
         ->id_manufacturer = "4"
         ->id_supplier = "0"
         ->id_shop = 1
         ->width = 0
         ->height = 0
         ->depth = 0
         ->weight = 0
         ->isOOS = true
         ->canOOS = true
         ->oos_add_days = 2
         ->picking_days = null
         ->add_picking_days = "0"
         ->is_pack = false
         ->is_release = true
         ->release_date = "2021-09-01"
         ->is_virtual = "0"
         ->is_available = false
         ->available_date = ""
         ->quantity = 0
         ->quantity_wanted = 1
         ->message = null
         ->formatted_date = "mer. 1 septembre"

 

Edited by @rthur (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...