SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. OLD DATA in DBarray(77) {
  2.   ["product_id"]=>
  3.   string(6) "681011"
  4.   ["asin"]=>
  5.   string(10) "B01F7CNNOA"
  6.   ["parent_asin"]=>
  7.   NULL
  8.   ["woo_product_id"]=>
  9.   NULL
  10.   ["woo_store"]=>
  11.   NULL
  12.   ["price"]=>
  13.   string(5) "10.99"
  14.   ["special_price"]=>
  15.   NULL
  16.   ["prime"]=>
  17.   string(1) "0"
  18.   ["sku"]=>
  19.   string(10) "B01F7CNNOA"
  20.   ["locale"]=>
  21.   string(2) "uk"
  22.   ["sync_speed"]=>
  23.   string(1) "3"
  24.   ["curl_code"]=>
  25.   string(3) "200"
  26.   ["sync_flag"]=>
  27.   string(1) "0"
  28.   ["syncable"]=>
  29.   string(1) "1"
  30.   ["enabled"]=>
  31.   string(1) "1"
  32.   ["offerUrl"]=>
  33.   string(135) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true"
  34.   ["merchantOfferUrl"]=>
  35.   string(152) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true&m=A3P5ROKL5A1OLE"
  36.   ["productUrl"]=>
  37.   string(63) "https://www.amazon.co.uk/dp/B01F7CNNOA?ie=UTF8&m=A3P5ROKL5A1OLE"
  38.   ["sync_log"]=>
  39.   string(0) ""
  40.   ["sync_message"]=>
  41.   string(0) ""
  42.   ["merchantId"]=>
  43.   string(14) "A3P5ROKL5A1OLE"
  44.   ["merchantName"]=>
  45.   string(6) "Amazon"
  46.   ["shippingPrice"]=>
  47.   string(1) "0"
  48.   ["shipping"]=>
  49.   string(57) "FREE Delivery in the UK on orders over £20.
  50. Details"
  51.   ["delivery"]=>
  52.   string(1361) "
  53.  
  54.  
  55.  
  56.  Want delivery by Friday, 26 July? Order it in the next , and choose AmazonGlobal Priority at checkout. See details  
  57.  
  58.  Delivery rates and return policy.
  59.  
  60. "
  61.   ["title"]=>
  62.   string(37) "Sterntaler Baby Girls' Mütze Hat"
  63.   ["stock"]=>
  64.   string(2) "10"
  65.   ["StockString"]=>
  66.   string(32) "wrong variation content received"
  67.   ["isAddon"]=>
  68.   string(1) "0"
  69.   ["category"]=>
  70.   string(51) "Baby | Baby Girls 0-24m | Accessories | Hats & Caps"
  71.   ["product_information"]=>
  72.   string(0) ""
  73.   ["item_model_number"]=>
  74.   string(0) ""
  75.   ["description"]=>
  76.   string(551) "Delivery Destinations: Visit the Delivery Destinations Help page to see where this item can be delivered out more about our Delivery Rates and Returns Policy
  77. ASIN: B00U2E4PPA
  78. Date first available at store: 10 Aug. 2015
  79. Average Customer Review: 5.0 out of 5 stars 1 customer review
  80. store Bestsellers Rank: 3,247,117 in Clothing (See Top 100 in Clothing) _hrsr { margin: 0; padding: 0; list-style-type: none; } _hrsr_item { margin: 0 0 0 10px; } _hrsr_rank { display: inline-block; width: 80px; text-align: right; } #9060 in Baby Girls' Hats & Caps"
  81.   ["short_description"]=>
  82.   string(85) "
  83. 100% Polyester
  84. Machine Wash - Warm (> 30°)
  85. 4411550
  86. "
  87.   ["mpn"]=>
  88.   string(7) "4411550"
  89.   ["ean"]=>
  90.   NULL
  91.   ["upc"]=>
  92.   NULL
  93.   ["brand"]=>
  94.   NULL
  95.   ["made_by"]=>
  96.   string(10) "Sterntaler"
  97.   ["manufacturer"]=>
  98.   NULL
  99.   ["model"]=>
  100.   NULL
  101.   ["images"]=>
  102.   string(223) "https://images-na.ssl-images-amazon.com/images/I/61Pvg5NNUtL._UL1500_.jpg|https://images-na.ssl-images-amazon.com/images/I/51roGOt1P8L._UL1300_.jpg|https://images-na.ssl-images-amazon.com/images/I/61xFycTw%2BLL._UL1300_.jpg"
  103.   ["toDelete"]=>
  104.   string(1) "0"
  105.   ["scraped_shipping_weight"]=>
  106.   NULL
  107.   ["shipping_weight"]=>
  108.   NULL
  109.   ["weight"]=>
  110.   NULL
  111.   ["dimension"]=>
  112.   NULL
  113.   ["variation_attributes"]=>
  114.   NULL
  115.   ["dimension_data"]=>
  116.   string(64) "a:3:{s:6:"weight";N;s:15:"shipping_weight";N;s:9:"dimension";N;}"
  117.   ["delivery_data"]=>
  118.   string(119) "Want it delivered by Friday, 26 July? Order within 12 hrs 45 mins and choose AmazonGlobal Priority at checkout. Details"
  119.   ["date_delivery_updated"]=>
  120.   string(19) "2019-07-22 09:44:11"
  121.   ["modified"]=>
  122.   string(19) "2019-07-23 18:23:59"
  123.   ["updated_date"]=>
  124.   string(19) "2019-07-21 12:58:29"
  125.   ["next_update_date"]=>
  126.   string(19) "2019-07-24 19:23:59"
  127.   ["created"]=>
  128.   string(19) "2019-05-18 19:45:29"
  129.   ["offers_data"]=>
  130.   NULL
  131.   ["marketplace_category"]=>
  132.   NULL
  133.   ["marketplace_category_name"]=>
  134.   NULL
  135.   ["web_hierarchy_location_codes"]=>
  136.   NULL
  137.   ["web_hierarchy_location_name"]=>
  138.   NULL
  139.   ["final_qty"]=>
  140.   string(2) "10"
  141.   ["final_is_in_stock"]=>
  142.   string(1) "0"
  143.   ["final_price"]=>
  144.   NULL
  145.   ["final_price_2"]=>
  146.   string(4) "0.00"
  147.   ["final_special_price"]=>
  148.   NULL
  149.   ["final_special_price_2"]=>
  150.   string(6) "999.99"
  151.   ["final_special_price_3"]=>
  152.   string(6) "779.99"
  153.   ["price_generated"]=>
  154.   string(19) "2019-07-21 12:58:29"
  155.   ["ItemID"]=>
  156.   NULL
  157.   ["ItemID2"]=>
  158.   string(12) "302980654766"
  159.   ["ebay_store"]=>
  160.   string(2) "uk"
  161.   ["shopify_id"]=>
  162.   string(0) ""
  163.   ["shopify_product_id"]=>
  164.   NULL
  165.   ["shopify_variant_id"]=>
  166.   NULL
  167.   ["shopify_inventory_item_id"]=>
  168.   NULL
  169.   ["shopify_qty_api_response"]=>
  170.   NULL
  171.   ["shopify_price_api_response"]=>
  172.   NULL
  173. }
  174. Newly scraped data before any 'generateOurPrices' function runarray(31) {
  175.   ["offerUrl"]=>
  176.   string(135) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true"
  177.   ["merchantOfferUrl"]=>
  178.   string(152) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true&m=A3P5ROKL5A1OLE"
  179.   ["productUrl"]=>
  180.   string(63) "https://www.amazon.co.uk/dp/B01F7CNNOA?ie=UTF8&m=A3P5ROKL5A1OLE"
  181.   ["sync_log"]=>
  182.   string(0) ""
  183.   ["curl_code"]=>
  184.   int(200)
  185.   ["merchantId"]=>
  186.   string(14) "A3P5ROKL5A1OLE"
  187.   ["merchantName"]=>
  188.   string(6) "Amazon"
  189.   ["price"]=>
  190.   float(10.99)
  191.   ["prime"]=>
  192.   int(0)
  193.   ["shippingPrice"]=>
  194.   int(0)
  195.   ["shipping"]=>
  196.   string(57) "FREE Delivery in the UK on orders over £20.
  197. Details"
  198.   ["delivery"]=>
  199.   string(1297) "
  200.  
  201.  
  202.  
  203.  Want delivery by Friday, 26 July? Order it in the next , and choose AmazonGlobal Priority at checkout. See details  
  204.  
  205.  Delivery rates and return policy.
  206.  
  207. "
  208.   ["isAddon"]=>
  209.   int(0)
  210.   ["title"]=>
  211.   string(37) "Sterntaler Baby Girls' Mütze Hat"
  212.   ["stock"]=>
  213.   int(0)
  214.   ["stockString"]=>
  215.   string(32) "wrong variation content received"
  216.   ["category"]=>
  217.   string(51) "Baby | Baby Girls 0-24m | Accessories | Hats & Caps"
  218.   ["product_information"]=>
  219.   string(0) ""
  220.   ["item_model_number"]=>
  221.   string(0) ""
  222.   ["description"]=>
  223.   string(551) "Delivery Destinations: Visit the Delivery Destinations Help page to see where this item can be delivered out more about our Delivery Rates and Returns Policy
  224. ASIN: B00U2E4PPA
  225. Date first available at store: 10 Aug. 2015
  226. Average Customer Review: 5.0 out of 5 stars 1 customer review
  227. store Bestsellers Rank: 3,247,117 in Clothing (See Top 100 in Clothing) _hrsr { margin: 0; padding: 0; list-style-type: none; } _hrsr_item { margin: 0 0 0 10px; } _hrsr_rank { display: inline-block; width: 80px; text-align: right; } #9060 in Baby Girls' Hats & Caps"
  228.   ["short_description"]=>
  229.   string(85) "
  230. 100% Polyester
  231. Machine Wash - Warm (> 30°)
  232. 4411550
  233. "
  234.   ["mpn"]=>
  235.   string(7) "4411550"
  236.   ["made_by"]=>
  237.   string(10) "Sterntaler"
  238.   ["images"]=>
  239.   string(223) "https://images-na.ssl-images-amazon.com/images/I/61Pvg5NNUtL._UL1500_.jpg|https://images-na.ssl-images-amazon.com/images/I/51roGOt1P8L._UL1300_.jpg|https://images-na.ssl-images-amazon.com/images/I/61xFycTw%2BLL._UL1300_.jpg"
  240.   ["weight"]=>
  241.   NULL
  242.   ["scraped_shipping_weight"]=>
  243.   NULL
  244.   ["dimension"]=>
  245.   NULL
  246.   ["dimension_data"]=>
  247.   string(64) "a:3:{s:6:"weight";N;s:15:"shipping_weight";N;s:9:"dimension";N;}"
  248.   ["modified"]=>
  249.   string(19) "2019-07-23 18:42:19"
  250.   ["sync_flag"]=>
  251.   int(0)
  252.   ["sync_message"]=>
  253.   string(0) ""
  254. }
  255. string(22) "price new scraped10.99"
  256. string(16) "price in DB10.99"
  257. string(18) "stock new scraped0"
  258. string(13) "stock in DB10"
  259. Value of CHANGED 1Newly scraped data after any 'generateOurPrices' function run, but before value = 10; codearray(43) {
  260.   ["offerUrl"]=>
  261.   string(135) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true"
  262.   ["merchantOfferUrl"]=>
  263.   string(152) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true&m=A3P5ROKL5A1OLE"
  264.   ["productUrl"]=>
  265.   string(63) "https://www.amazon.co.uk/dp/B01F7CNNOA?ie=UTF8&m=A3P5ROKL5A1OLE"
  266.   ["sync_log"]=>
  267.   string(0) ""
  268.   ["curl_code"]=>
  269.   int(200)
  270.   ["merchantId"]=>
  271.   string(14) "A3P5ROKL5A1OLE"
  272.   ["merchantName"]=>
  273.   string(6) "Amazon"
  274.   ["price"]=>
  275.   float(10.99)
  276.   ["prime"]=>
  277.   int(0)
  278.   ["shippingPrice"]=>
  279.   int(0)
  280.   ["shipping"]=>
  281.   string(57) "FREE Delivery in the UK on orders over £20.
  282. Details"
  283.   ["delivery"]=>
  284.   string(1297) "
  285.  
  286.  
  287.  
  288.  Want delivery by Friday, 26 July? Order it in the next , and choose AmazonGlobal Priority at checkout. See details  
  289.  
  290.  Delivery rates and return policy.
  291.  
  292. "
  293.   ["isAddon"]=>
  294.   int(0)
  295.   ["title"]=>
  296.   string(37) "Sterntaler Baby Girls' Mütze Hat"
  297.   ["stock"]=>
  298.   int(0)
  299.   ["stockString"]=>
  300.   string(32) "wrong variation content received"
  301.   ["category"]=>
  302.   string(51) "Baby | Baby Girls 0-24m | Accessories | Hats & Caps"
  303.   ["product_information"]=>
  304.   string(0) ""
  305.   ["item_model_number"]=>
  306.   string(0) ""
  307.   ["description"]=>
  308.   string(551) "Delivery Destinations: Visit the Delivery Destinations Help page to see where this item can be delivered out more about our Delivery Rates and Returns Policy
  309. ASIN: B00U2E4PPA
  310. Date first available at store: 10 Aug. 2015
  311. Average Customer Review: 5.0 out of 5 stars 1 customer review
  312. store Bestsellers Rank: 3,247,117 in Clothing (See Top 100 in Clothing) _hrsr { margin: 0; padding: 0; list-style-type: none; } _hrsr_item { margin: 0 0 0 10px; } _hrsr_rank { display: inline-block; width: 80px; text-align: right; } #9060 in Baby Girls' Hats & Caps"
  313.   ["short_description"]=>
  314.   string(85) "
  315. 100% Polyester
  316. Machine Wash - Warm (> 30°)
  317. 4411550
  318. "
  319.   ["mpn"]=>
  320.   string(7) "4411550"
  321.   ["made_by"]=>
  322.   string(10) "Sterntaler"
  323.   ["images"]=>
  324.   string(223) "https://images-na.ssl-images-amazon.com/images/I/61Pvg5NNUtL._UL1500_.jpg|https://images-na.ssl-images-amazon.com/images/I/51roGOt1P8L._UL1300_.jpg|https://images-na.ssl-images-amazon.com/images/I/61xFycTw%2BLL._UL1300_.jpg"
  325.   ["weight"]=>
  326.   NULL
  327.   ["scraped_shipping_weight"]=>
  328.   NULL
  329.   ["dimension"]=>
  330.   NULL
  331.   ["dimension_data"]=>
  332.   string(64) "a:3:{s:6:"weight";N;s:15:"shipping_weight";N;s:9:"dimension";N;}"
  333.   ["modified"]=>
  334.   string(19) "2019-07-23 18:42:19"
  335.   ["sync_flag"]=>
  336.   int(0)
  337.   ["sync_message"]=>
  338.   string(0) ""
  339.   ["updated_date"]=>
  340.   string(19) "2019-07-23 18:42:19"
  341.   ["final_price_2"]=>
  342.   float(30.99)
  343.   ["final_special_price_2"]=>
  344.   float(28.99)
  345.   ["final_special_price_3"]=>
  346.   float(22.99)
  347.   ["final_qty"]=>
  348.   int(0)
  349.   ["final_is_in_stock"]=>
  350.   int(0)
  351.   ["final_price"]=>
  352.   float(10.99)
  353.   ["final_special_price"]=>
  354.   float(10.99)
  355.   ["price_generated"]=>
  356.   string(19) "2019-07-23 18:42:19"
  357.   ["sync_speed"]=>
  358.   int(1)
  359.   ["toDelete"]=>
  360.   int(0)
  361.   ["next_update_date"]=>
  362.   string(19) "2019-07-24 03:02:19"
  363. }
  364. Final dataarray(43) {
  365.   ["offerUrl"]=>
  366.   string(135) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true"
  367.   ["merchantOfferUrl"]=>
  368.   string(152) "https://www.amazon.co.uk/gp/offer-listing/B01F7CNNOA/ref=olp_f_primeEligible?ie=UTF&f_primeEligible=true&f_new=true&f_freeShipping=true&m=A3P5ROKL5A1OLE"
  369.   ["productUrl"]=>
  370.   string(63) "https://www.amazon.co.uk/dp/B01F7CNNOA?ie=UTF8&m=A3P5ROKL5A1OLE"
  371.   ["sync_log"]=>
  372.   string(0) ""
  373.   ["curl_code"]=>
  374.   int(200)
  375.   ["merchantId"]=>
  376.   string(14) "A3P5ROKL5A1OLE"
  377.   ["merchantName"]=>
  378.   string(6) "Amazon"
  379.   ["price"]=>
  380.   float(10.99)
  381.   ["prime"]=>
  382.   int(0)
  383.   ["shippingPrice"]=>
  384.   int(0)
  385.   ["shipping"]=>
  386.   string(57) "FREE Delivery in the UK on orders over £20.
  387. Details"
  388.   ["delivery"]=>
  389.   string(1297) "
  390.  
  391.  
  392.  
  393.  Want delivery by Friday, 26 July? Order it in the next , and choose AmazonGlobal Priority at checkout. See details  
  394.  
  395.  Delivery rates and return policy.
  396.  
  397. "
  398.   ["isAddon"]=>
  399.   int(0)
  400.   ["title"]=>
  401.   string(37) "Sterntaler Baby Girls' Mütze Hat"
  402.   ["stock"]=>
  403.   int(10)
  404.   ["stockString"]=>
  405.   string(32) "wrong variation content received"
  406.   ["category"]=>
  407.   string(51) "Baby | Baby Girls 0-24m | Accessories | Hats & Caps"
  408.   ["product_information"]=>
  409.   string(0) ""
  410.   ["item_model_number"]=>
  411.   string(0) ""
  412.   ["description"]=>
  413.   string(551) "Delivery Destinations: Visit the Delivery Destinations Help page to see where this item can be delivered out more about our Delivery Rates and Returns Policy
  414. ASIN: B00U2E4PPA
  415. Date first available at store: 10 Aug. 2015
  416. Average Customer Review: 5.0 out of 5 stars 1 customer review
  417. store Bestsellers Rank: 3,247,117 in Clothing (See Top 100 in Clothing) _hrsr { margin: 0; padding: 0; list-style-type: none; } _hrsr_item { margin: 0 0 0 10px; } _hrsr_rank { display: inline-block; width: 80px; text-align: right; } #9060 in Baby Girls' Hats & Caps"
  418.   ["short_description"]=>
  419.   string(85) "
  420. 100% Polyester
  421. Machine Wash - Warm (> 30°)
  422. 4411550
  423. "
  424.   ["mpn"]=>
  425.   string(7) "4411550"
  426.   ["made_by"]=>
  427.   string(10) "Sterntaler"
  428.   ["images"]=>
  429.   string(223) "https://images-na.ssl-images-amazon.com/images/I/61Pvg5NNUtL._UL1500_.jpg|https://images-na.ssl-images-amazon.com/images/I/51roGOt1P8L._UL1300_.jpg|https://images-na.ssl-images-amazon.com/images/I/61xFycTw%2BLL._UL1300_.jpg"
  430.   ["weight"]=>
  431.   NULL
  432.   ["scraped_shipping_weight"]=>
  433.   NULL
  434.   ["dimension"]=>
  435.   NULL
  436.   ["dimension_data"]=>
  437.   string(64) "a:3:{s:6:"weight";N;s:15:"shipping_weight";N;s:9:"dimension";N;}"
  438.   ["modified"]=>
  439.   string(19) "2019-07-23 18:42:19"
  440.   ["sync_flag"]=>
  441.   int(0)
  442.   ["sync_message"]=>
  443.   string(0) ""
  444.   ["updated_date"]=>
  445.   string(19) "2019-07-23 18:42:19"
  446.   ["final_price_2"]=>
  447.   float(30.99)
  448.   ["final_special_price_2"]=>
  449.   float(28.99)
  450.   ["final_special_price_3"]=>
  451.   float(22.99)
  452.   ["final_qty"]=>
  453.   int(10)
  454.   ["final_is_in_stock"]=>
  455.   int(0)
  456.   ["final_price"]=>
  457.   float(10.99)
  458.   ["final_special_price"]=>
  459.   float(10.99)
  460.   ["price_generated"]=>
  461.   string(19) "2019-07-23 18:42:19"
  462.   ["sync_speed"]=>
  463.   int(1)
  464.   ["toDelete"]=>
  465.   int(0)
  466.   ["next_update_date"]=>
  467.   string(19) "2019-07-24 03:02:19"
  468. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top