PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
content-egg-templates
/
Amazon
<?php /* Name: Price alert form */ use ContentEgg\application\helpers\TemplateHelper; ?> <?php foreach ($items as $item): ?> <?php if (TemplateHelper::isPriceAlertAllowed($item['unique_id'], $module_id)): ?> <div class="price-alert-form-ce"> <div class="alert-form-ce-wrap"> <h4 id="<?php echo esc_attr($item['unique_id']); ?>"><i class="far fa-bell bigbellalert rehub-main-color" aria-hidden="true"></i><?php _e('Didn\'t find the right price? Set price alert below', 'rehub_framework');?></h4> <div class="cegg-price-alert-wrap"> <div class="mb10 font90"> <?php _e('Lowest price Product', 'rehub_framework'); ?>: <?php echo esc_attr($item['title']);?> - <?php echo TemplateHelper::formatPriceCurrency($item['price'], $item['currencyCode']); ?> </div> <form> <?php $postid = (isset($post_id)) ? $post_id : get_the_ID();?> <input type="hidden" name="module_id" value="<?php echo esc_attr($module_id); ?>"> <input type="hidden" name="unique_id" value="<?php echo esc_attr($item['unique_id']); ?>"> <input type="hidden" name="post_id" value="<?php echo (int)$postid; ?>"> <div class="tabledisplay mobileblockdisplay mobilecenterdisplay flowhidden"> <div class="celldisplay pr15 rtlpl15"> <input type="text" name="email" placeholder="<?php _e('Your Email', 'rehub_framework'); ?>:" class="mb10"> </div> <div class="celldisplay pr15 rtlpl15"> <input type="text" name="price" placeholder="<?php _e('Desired price', 'rehub_framework'); ?>:" class="mb10"> </div> <div class="celldisplay"> <input value="<?php _e('Start tracking', 'rehub_framework'); ?>" type="submit" class="wpsm-button rehub_main_btn small-btn floatright mb10" /> </div> </div> <?php if (method_exists('TemplateHelper', 'getPrivacyUrl')):?> <?php $privacy_url = TemplateHelper::getPrivacyUrl(); ?> <?php if ($privacy_url): ?> <div style="display: none;" class="price-alert-agree-wrap mt10 font80"> <label class="price-alert-agree-label"> <input type="checkbox" name="accepted" value="1" id="cegg_alert_accepted" required /> <?php echo sprintf(__('I agree to the <a target="_blank" href="%s">Privacy Policy</a>.', 'rehub_framework'), esc_attr($privacy_url)); ?> </label> </div> <?php endif; ?> <?php endif; ?> </form> <div class="cegg-price-loading-image" style="display: none;"><img src="<?php echo get_template_directory_uri() . '/images/ajax-loader.gif' ?>" /></div> <div class="cegg-price-alert-result-succcess" style="display: none; color: green;"></div> <div class="cegg-price-alert-result-error" style="display: none; color: red;"></div> </div> </div> </div> <?php endif;?> <?php endforeach; ?>
[+]
..
[-] data_price_alert.php
[edit]
[-] data_bigcart_notitle.php
[edit]
[-] data_bigcart.php
[edit]
[-] data_gallery_images.php
[edit]
[-] data_grid4.php
[edit]
[-] data_grid3.php
[edit]
[-] data_slider.php
[edit]
[-] data_compact_extra.php
[edit]
[-] data_reviews.php
[edit]
[-] data_image_slider.php
[edit]
[-] data_simple_list.php
[edit]
[-] data_button.php
[edit]
[-] data_price_history.php
[edit]
[-] data_list.php
[edit]
[-] data_feature.php
[edit]
[-] data_compact.php
[edit]