Jump to content

chhorn

Members
  • Posts

    115
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by chhorn

  1. i don't get any logic in that

     

    Quote

    EH => Price

    EH3 => Price

    EH3 1 => Price

    EH3 1-4 => Price

     

    Exceptions - No Delivery allowed

    EH => null

    EH3 => null

    EH3 1 => null

    EH3 1-4 => null

     

    Can mix and match for example:

     

    EH3 = £2.00

    EH3 2 => £2.25

    EH3 5 => null

    so why is EH totally missing, EH3 2 is undefined but gets a price and EH3 gets a price even that it's an exeption? Makes no sense for me.

  2. just another variant:

     

    $myarray = [
                   'articles' => [ 'href' => 'http://admin.contenta.com/api/articles'],
                   'blocks' => [ 'href' => 'http://admin.contenta.com/api/blocks'],
                   'categories' => [ 'href' => 'http://admin.contenta.com/api/categories']
               ];
    
    print_r(array_combine(array_keys($myarray), array_column($myarray, 'href')));

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.