getShortcode(), $atts); extract($atts); $args = array( 'post_type' => 'stm_office', 'posts_per_page' => -1, 'post_status' => 'publish' ); $style_type = 'style_1'; if(!empty($style) and $style == 'style_2') { $style_type = 'style_2'; } $fields = stm_get_rental_order_fields_values(true); $locations = stm_rental_locations(true); $css_class = apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class($css, ' ')); $form_url = stm_woo_shop_page_url(); $items = stm_get_cart_items(); if(!empty($items['car_class'])) { $form_url = stm_woo_shop_checkout_url(); } ?>