Genererer resultater
array(26) {
["orderUsername"]=>
string(17) "Silje Marie Grove"
["orderUserEmail"]=>
string(19) "silje@smartvarme.no"
["orderStoreName"]=>
string(14) "Smart Varme AS"
["orderMark"]=>
string(4) "test"
["orderComment"]=>
string(0) ""
["selectPipeAndSolution"]=>
string(12) "standardPipe"
["selectDimensions"]=>
string(12) "Dimension150"
["selectMounting"]=>
string(10) "TopMounted"
["selectConnectionDiameter"]=>
string(13) "connection150"
["inputOtherConnectionDiameter"]=>
string(0) ""
["inputConnectionHeight"]=>
string(3) "800"
["selectInstallationType"]=>
string(8) "OneFloor"
["checkboxTopFloorFurnished"]=>
string(1) "1"
["inputRidgeHeight"]=>
string(4) "8000"
["inputDistanceToChimney"]=>
string(3) "800"
["inputRoofAngle"]=>
string(2) "32"
["inputInteriorCeilingHeight"]=>
string(4) "2400"
["inputCalculatedTotalHeight"]=>
string(4) "8800"
["inputCalculatedHeightAboveRoof"]=>
string(4) "1300"
["inputRoofAngleVisible"]=>
string(1) "0"
["inputRoofProtrusionHeight"]=>
string(0) ""
["inputCalculatedPipeLength"]=>
string(4) "8000"
["inputDistanceBacksideOvenToPipe"]=>
string(0) ""
["inputLateralOffsetStartHeight"]=>
string(0) ""
["selectPipeEmbodimentOnRoof"]=>
string(10) "roundCover"
["selectRoofType"]=>
string(9) "roofTiles"
}
DEBUG: 1 - All Inputs
array(4) {
["selectDimension"]=>
string(7) "NOT SET"
["selectPipeType"]=>
string(7) "NOT SET"
["mounting"]=>
string(10) "TopMounted"
["calculatedPipeLength"]=>
int(8000)
}
DEBUG: 2 - Lateral Component Setup
array(2) {
["lateralBend"]=>
string(7) "7815008"
["lateral1000"]=>
string(7) "7715005"
}
DEBUG: 3 - Inside TopMounted Logic
Initial remainingPipeLength: 8000
Branch taken: Original 150 Logic
Final remainingPipeLength: 7050
DEBUG: 4 - Before Main Pipe Loop
array(5) {
["remainingPipeLength"]=>
int(7050)
["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: 8000
Branch taken: Original 150 Logic
Final remainingPipeLength: 7050
Roof type: roofTiles Roof Key: flex Roof Config: Array Product: Array [ flex ] [ 32
Spesifikasjon -
48
Navn: Silje Marie Grove
E-postadresse: silje@smartvarme.no
Bedrift: Smart Varme AS
Merkes: test
Varenummer |
Komponentnavn |
Antall |
Pris eks. MVA |
Sum |
array(6) {
["headers"]=>
object(WpOrg\Requests\Utility\CaseInsensitiveDictionary)#3833 (1) {
["data":protected]=>
array(15) {
["server"]=>
string(5) "nginx"
["date"]=>
string(29) "Thu, 10 Jul 2025 10:39:02 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:39:02 GMT; Max-Age=43200; path=/; secure; HttpOnly"
["vary"]=>
string(14) "Referer,Cookie"
}
}
["body"]=>
string(13626) "[{"id":46954,"name":"\u00d8150 VENT Lengde 500 sort","slug":"o150-vent-lengde-500-sort","permalink":"https:\/\/smartvarme.no\/produkt\/o150-vent-lengde-500-sort\/","date_created":"2023-11-16T16:37:46","date_created_gmt":"2023-11-16T15:37:46","date_modified":"2025-06-26T14:30:05","date_modified_gmt":"2025-06-26T13:30:05","type":"simple","status":"publish","featured":false,"catalog_visibility":"visible","description":"","short_description":"","sku":"7815006","price":"2115.00","regular_price":"2115.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":37,"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":47548,"date_created":"2023-12-13T10:55:33","date_created_gmt":"2023-12-13T09:55:33","date_modified":"2023-12-13T10:55:33","date_modified_gmt":"2023-12-13T09:55:33","src":"https:\/\/smartvarme.no\/wp-content\/uploads\/2023\/09\/7715006-lengde-500.jpg","name":"7715006 – lengde 500","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> 2 643,75<\/bdi><\/span>","related_ids":[46955,34774,46951,34731,34723],"meta_data":[{"id":9172984,"key":"maco_minimumstock","value":"15"},{"id":9172985,"key":"wpseo_global_identifier_values","value":{"gtin8":"","gtin12":"","gtin13":"7073118004560","gtin14":"","isbn":"","mpn":""}},{"id":9172986,"key":"maco_category","value":"1011"},{"id":9239653,"key":"krokedil_product_documents_tab_label","value":""},{"id":9239654,"key":"krokedil_product_documents_file_titles","value":[]},{"id":9239655,"key":"pipe_link_enable","value":"no"},{"id":9239656,"key":"site-sidebar-layout","value":"default"},{"id":9239657,"key":"site-content-layout","value":"default"},{"id":9239658,"key":"theme-transparent-header-meta","value":"default"},{"id":9239659,"key":"stick-header-meta","value":"default"},{"id":9239660,"key":"_yoast_wpseo_content_score","value":"30"},{"id":9239661,"key":"_yoast_wpseo_estimated-reading-time-minutes","value":""},{"id":9360928,"key":"gtin_ean","value":"7073118004560"},{"id":9633229,"key":"_gtin_ean","value":"field_655f17f567019"},{"id":12267610,"key":"minimum_stock_quantity","value":"35.0"},{"id":12267611,"key":"leveringsdager","value":"14"},{"id":12269263,"key":"_wc_gla_availabilityDate","value":"2025-07-23T22:59:00+00:00"},{"id":12273478,"key":"_wc_gla_errors","value":["[description] This value should not be blank."]},{"id":12273479,"key":"_wc_gla_sync_status","value":"has-errors"},{"id":12273480,"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":37,"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 500 sort<\/title>\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n