Genererer resultater
array(26) {
["orderUsername"]=>
string(3) "few"
["orderUserEmail"]=>
string(18) "John@Doe.gmail.com"
["orderStoreName"]=>
string(3) "ger"
["orderMark"]=>
string(3) "ger"
["orderComment"]=>
string(0) ""
["selectPipeAndSolution"]=>
string(14) "ventilatedPipe"
["selectDimensions"]=>
string(12) "Dimension150"
["selectMounting"]=>
string(10) "TopMounted"
["selectConnectionDiameter"]=>
string(13) "connection150"
["inputOtherConnectionDiameter"]=>
string(0) ""
["inputConnectionHeight"]=>
string(3) "800"
["selectInstallationType"]=>
string(9) "TwoFloors"
["inputRidgeHeight"]=>
string(4) "4000"
["inputDistanceToChimney"]=>
string(3) "800"
["inputRoofAngle"]=>
string(2) "22"
["inputInteriorCeilingHeight"]=>
string(4) "2600"
["inputCalculatedTotalHeight"]=>
string(4) "4800"
["inputCalculatedHeightAboveRoof"]=>
string(4) "1123"
["inputRoofAngleVisible"]=>
string(2) "22"
["inputRoofProtrusionHeight"]=>
string(5) "11000"
["inputCalculatedPipeLength"]=>
string(4) "4000"
["inputDistanceBacksideOvenToPipe"]=>
string(3) "470"
["inputLateralOffsetStartHeight"]=>
string(4) "1500"
["selectLateralOffsetCC"]=>
string(3) "490"
["selectPipeEmbodimentOnRoof"]=>
string(10) "roundCover"
["selectRoofType"]=>
string(19) "foilOrCardboardRoof"
}
DEBUG: 1 - All Inputs
array(4) {
["selectDimension"]=>
string(7) "NOT SET"
["selectPipeType"]=>
string(7) "NOT SET"
["mounting"]=>
string(10) "TopMounted"
["calculatedPipeLength"]=>
int(4000)
}
DEBUG: 2 - Lateral Component Setup
array(2) {
["lateralBend"]=>
string(7) "7815008"
["lateral1000"]=>
string(7) "7715005"
}
DEBUG: 3 - Inside TopMounted Logic
Initial remainingPipeLength: 4000
Branch taken: Original 150 Logic
Final remainingPipeLength: 3050
DEBUG: 4 - Before Main Pipe Loop
array(5) {
["remainingPipeLength"]=>
int(3050)
["pipeConfigKey"]=>
string(14) "ventilatedPipe"
["mm1000_sku"]=>
string(7) "7815005"
["mm500_sku"]=>
string(7) "7815006"
["mm250_sku"]=>
string(7) "7815007"
}
DEBUG: 3 - Inside TopMounted Logic
Initial remainingPipeLength: 4000
Branch taken: Original 150 Logic
Final remainingPipeLength: 3050
Roof type: foilOrCardboardRoof Roof Key: foil Roof Config: Array Product: Array [ foil ] [ 22
Spesifikasjon -
37
Navn: few
E-postadresse: John@Doe.gmail.com
Bedrift: ger
Merkes: ger
Varenummer |
Komponentnavn |
Antall |
Pris eks. MVA |
Sum |
array(6) {
["headers"]=>
object(WpOrg\Requests\Utility\CaseInsensitiveDictionary)#3831 (1) {
["data":protected]=>
array(15) {
["server"]=>
string(5) "nginx"
["date"]=>
string(29) "Thu, 10 Jul 2025 10:15:57 GMT"
["content-type"]=>
string(31) "application/json; charset=UTF-8"
["x-robots-tag"]=>
string(7) "noindex"
["link"]=>
string(58) "; rel="https://api.w.org/""
["x-content-type-options"]=>
string(7) "nosniff"
["access-control-expose-headers"]=>
string(33) "X-WP-Total, X-WP-TotalPages, Link"
["access-control-allow-headers"]=>
string(73) "Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"
["x-wp-total"]=>
string(1) "1"
["x-wp-totalpages"]=>
string(1) "1"
["allow"]=>
string(9) "GET, POST"
["expires"]=>
string(29) "Wed, 11 Jan 1984 05:00:00 GMT"
["cache-control"]=>
string(55) "no-cache, must-revalidate, max-age=0, no-store, private"
["set-cookie"]=>
string(322) "wfwaf-authcookie-9c25cf7a483a2ce55c6ab92b29601287=103%7Cadministrator%7Cmanage_options%2Cunfiltered_html%2Cedit_others_posts%2Cupload_files%2Cpublish_posts%2Cedit_posts%2Cread%7Cd11588d2af4cf1bea4feaa53cab4765efcc96b75660097acac9d626ba9a9d3f1; expires=Thu, 10 Jul 2025 22:15:57 GMT; Max-Age=43200; path=/; secure; HttpOnly"
["vary"]=>
string(14) "Referer,Cookie"
}
}
["body"]=>
string(13626) "[{"id":46955,"name":"\u00d8150 VENT Lengde 250 sort","slug":"o150-vent-lengde-250-sort","permalink":"https:\/\/smartvarme.no\/produkt\/o150-vent-lengde-250-sort\/","date_created":"2023-11-16T16:37:51","date_created_gmt":"2023-11-16T15:37:51","date_modified":"2025-06-12T09:30:04","date_modified_gmt":"2025-06-12T08:30:04","type":"simple","status":"publish","featured":false,"catalog_visibility":"visible","description":"","short_description":"","sku":"7815007","price":"1285.00","regular_price":"1285.00","sale_price":"","date_on_sale_from":null,"date_on_sale_from_gmt":null,"date_on_sale_to":null,"date_on_sale_to_gmt":null,"on_sale":false,"purchasable":true,"total_sales":0,"virtual":false,"downloadable":false,"downloads":[],"download_limit":-1,"download_expiry":-1,"external_url":"","button_text":"","tax_status":"taxable","tax_class":"","manage_stock":true,"stock_quantity":32,"backorders":"yes","backorders_allowed":true,"backordered":false,"low_stock_amount":null,"sold_individually":false,"weight":"","dimensions":{"length":"","width":"","height":""},"shipping_required":true,"shipping_taxable":true,"shipping_class":"","shipping_class_id":0,"reviews_allowed":false,"average_rating":"0.00","rating_count":0,"upsell_ids":[],"cross_sell_ids":[],"parent_id":0,"purchase_note":"","categories":[{"id":196,"name":"Ventilert St\u00e5lpipe","slug":"ventilert-stalpipe"}],"brands":[],"tags":[],"images":[{"id":47549,"date_created":"2023-12-13T10:55:34","date_created_gmt":"2023-12-13T09:55:34","date_modified":"2023-12-13T10:55:34","date_modified_gmt":"2023-12-13T09:55:34","src":"https:\/\/smartvarme.no\/wp-content\/uploads\/2023\/09\/7715007-lengde-250.jpg","name":"7715007 – lengde 250","alt":""},{"id":47117,"date_created":"2023-11-20T12:29:33","date_created_gmt":"2023-11-20T11:29:33","date_modified":"2023-11-20T12:29:33","date_modified_gmt":"2023-11-20T11:29:33","src":"https:\/\/smartvarme.no\/wp-content\/uploads\/2023\/11\/Lenge-ventilert.jpg","name":"Lenge ventilert","alt":""}],"attributes":[{"id":2,"name":"Utvalg","slug":"pa_utvalg","position":0,"visible":true,"variation":false,"options":["\u00d8150 sort helisolert"]}],"default_attributes":[],"variations":[],"grouped_products":[],"menu_order":0,"price_html":"kr<\/span> 1 606,25<\/bdi><\/span>","related_ids":[34773,34776,34775,34902,34716],"meta_data":[{"id":9173005,"key":"maco_minimumstock","value":"20"},{"id":9173006,"key":"wpseo_global_identifier_values","value":{"gtin8":"","gtin12":"","gtin13":"7073118004577","gtin14":"","isbn":"","mpn":""}},{"id":9173007,"key":"maco_category","value":"1011"},{"id":9239642,"key":"krokedil_product_documents_tab_label","value":""},{"id":9239643,"key":"krokedil_product_documents_file_titles","value":[]},{"id":9239644,"key":"pipe_link_enable","value":"no"},{"id":9239645,"key":"site-sidebar-layout","value":"default"},{"id":9239646,"key":"site-content-layout","value":"default"},{"id":9239647,"key":"theme-transparent-header-meta","value":"default"},{"id":9239648,"key":"stick-header-meta","value":"default"},{"id":9239649,"key":"_yoast_wpseo_content_score","value":"30"},{"id":9239650,"key":"_yoast_wpseo_estimated-reading-time-minutes","value":""},{"id":9360929,"key":"gtin_ean","value":"7073118004577"},{"id":9633231,"key":"_gtin_ean","value":"field_655f17f567019"},{"id":12267612,"key":"minimum_stock_quantity","value":"20.0"},{"id":12267613,"key":"leveringsdager","value":"14"},{"id":12269262,"key":"_wc_gla_availabilityDate","value":"2025-07-23T22:59:00+00:00"},{"id":12273481,"key":"_wc_gla_errors","value":["[description] This value should not be blank."]},{"id":12273482,"key":"_wc_gla_sync_status","value":"has-errors"},{"id":12273483,"key":"_wc_gla_visibility","value":"sync-and-show"}],"stock_status":"instock","has_options":false,"post_password":"","global_unique_id":"","bundled_by":[],"bundle_stock_status":"instock","bundle_stock_quantity":32,"bundle_virtual":false,"bundle_layout":"","bundle_add_to_cart_form_location":"","bundle_editable_in_cart":false,"bundle_sold_individually_context":"","bundle_item_grouping":"","bundle_min_size":"","bundle_max_size":"","bundled_items":[],"bundle_sell_ids":[],"yoast_head":"\n\u00d8150 VENT Lengde 250 sort<\/title>\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n