@@ -1,4 +1,4 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div class="wps-form-group"> |
4 | 4 | <label for="filter_search_<?php echo $attribute_def->code; ?>"><?php _e($attribute_def->frontend_label, 'wpshop'); ?></label> |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div class="wps-form-group"> |
4 | 6 | <label for="filter_search_<?php echo $attribute_def->code; ?>"><?php _e($attribute_def->frontend_label, 'wpshop'); ?></label> |
@@ -1,8 +1,8 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div class="wps-form-group"> |
4 | 4 | <?php |
5 | - foreach( $stored_available_attribute_values as $stored_available_attribute_value ) : ?> |
|
6 | - <input type="checkbox" class="filter_search_checkbox" id="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id'];?>" name="filter_search_<?php echo $attribute_def->code; ?>[]" /> <label for="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id']; ?>"><?php echo $stored_available_attribute_value['option_label']; ?></label> |
|
5 | + foreach ($stored_available_attribute_values as $stored_available_attribute_value) : ?> |
|
6 | + <input type="checkbox" class="filter_search_checkbox" id="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id']; ?>" name="filter_search_<?php echo $attribute_def->code; ?>[]" /> <label for="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id']; ?>"><?php echo $stored_available_attribute_value['option_label']; ?></label> |
|
7 | 7 | <?php endforeach; ?> |
8 | 8 | </div> |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div class="wps-form-group"> |
4 | 6 | <?php |
@@ -1,8 +1,8 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div class="wps-form-group"> |
4 | 4 | <?php |
5 | - foreach( $stored_available_attribute_values as $stored_available_attribute_value ) : ?> |
|
6 | - <input type="radio" class="filter_search_radiobox" id="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id'];?>" name="filter_search_<?php echo $attribute_def->code; ?>" /> <label for="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id']; ?>"><?php echo $stored_available_attribute_value['option_label']; ?></label> |
|
5 | + foreach ($stored_available_attribute_values as $stored_available_attribute_value) : ?> |
|
6 | + <input type="radio" class="filter_search_radiobox" id="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id']; ?>" name="filter_search_<?php echo $attribute_def->code; ?>" /> <label for="filter_search_<?php echo $attribute_def->code; ?>_<?php echo $stored_available_attribute_value['option_id']; ?>"><?php echo $stored_available_attribute_value['option_label']; ?></label> |
|
7 | 7 | <?php endforeach; ?> |
8 | 8 | </div> |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div class="wps-form-group"> |
4 | 6 | <?php |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div class="wps-filters" id="wpshop_filter_search_container"> |
4 | 6 | <!-- <div class="wps-gridwrapper" > |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div class="wps-filters" id="wpshop_filter_search_container"> |
4 | 4 | <!-- <div class="wps-gridwrapper" > |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | <div class="wps-filters-padder"> |
11 | 11 | <form method="post" action="<?php echo admin_url('admin-ajax.php'); ?>" name=" " id="filter_search_action"> |
12 | 12 | <input type="hidden" name="action" value="filter_search_action" /> |
13 | - <?php wp_nonce_field( 'wpshop_ajax_filter_search_action' ); ?> |
|
13 | + <?php wp_nonce_field('wpshop_ajax_filter_search_action'); ?> |
|
14 | 14 | <input type="hidden" name="wpshop_filter_search_category_id" value="<?php echo $category_id; ?>" /> |
15 | 15 | <input type="hidden" name="wpshop_filter_search_current_page_id" id="wpshop_filter_search_current_page_id" value="1" /> |
16 | 16 |
@@ -1,3 +1,3 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | echo $checkout_step_indicator; |
3 | 3 | echo $checkout_content; |
4 | 4 | \ No newline at end of file |
@@ -1,3 +1,5 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | echo $checkout_step_indicator; |
3 | 5 | echo $checkout_content; |
4 | 6 | \ No newline at end of file |
@@ -1,2 +1,2 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | echo do_shortcode('[wps_cart]'); ?> |
@@ -1,2 +1,4 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | echo do_shortcode('[wps_cart]'); ?> |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div class="wps-boxed"> |
4 | 4 | <p><?php _e('Thank you ! Your quotation has been sent. We will respond to you as soon as possible.', 'wpshop'); ?></p> |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div class="wps-boxed"> |
4 | 6 | <p><?php _e('Thank you ! Your quotation has been sent. We will respond to you as soon as possible.', 'wpshop'); ?></p> |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div> |
4 | 4 | <?php |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div> |
4 | 6 | <?php |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | ?> |
3 | 3 | <div class="wps-boxed"> |
4 | 4 | <p><?php _e('Thank you ! Your order as been successfully saved. You will pay your order on delivery. Thank you for your loyalty.', 'wpshop'); ?></p> |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <div class="wps-boxed"> |
4 | 6 | <p><?php _e('Thank you ! Your order as been successfully saved. You will pay your order on delivery. Thank you for your loyalty.', 'wpshop'); ?></p> |