Changeset 3758167 for traceify/trunk/admin/views/settings-page.php
- Timestamp:
- 10/21/2026 10:43:36 AM (9 days ago)
- File:
-
- 1 edited
-
traceify/trunk/admin/views/settings-page.php (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
-
traceify/trunk/admin/views/settings-page.php
r3716662 r3758167 15 15 'whatsapp' => array( 'label' => 'WhatsApp', 'group' => 'MESSAGING', 'desc' => 'WhatsApp number and message templates.', 'icon' => '<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z"/><path d="M12 0C5.373 0 0 5.373 0 12c0 2.124.558 4.122 1.533 5.854L0 24l6.335-1.51A11.945 11.945 0 0012 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 21.818a9.818 9.818 0 01-5.006-1.368l-.36-.213-3.76.896.951-3.657-.234-.376A9.817 9.817 0 012.182 12C2.182 6.582 6.582 2.182 12 2.182c5.418 0 9.818 4.4 9.818 9.818 0 5.418-4.4 9.818-9.818 9.818z"/>' ), 16 16 'tracking' => array( 'label' => 'Tracking Page', 'group' => 'TRACKING', 'desc' => 'Configure the customer-facing tracking page.', 'icon' => '<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/>' ), 17 'shipment' => array( 'label' => 'Shipment Tracking', 'group' => 'TRACKING', 'desc' => 'Courier and tracking number for each order.', 'icon' => '<path d="M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/>' ), 17 18 'delivery' => array( 'label' => 'Estimated Delivery', 'group' => 'TRACKING', 'desc' => 'Auto-calculate delivery date ranges.', 'icon' => '<path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 4h-2v-2h2v2zm4 0h-2v-2h2v2z"/>' ), 18 19 'emails' => array( 'label' => 'Email Notifications', 'group' => 'NOTIFICATIONS', 'desc' => 'Branded email alerts on order status changes.', 'icon' => '<path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/>' ), … … 70 71 <div id="trcfy-saved-notice" style="display:none;align-items:center;gap:8px;background:#D1FAE5;border:1px solid #A7F3D0;color:#065F46;padding:10px 20px;font-size:13px;font-weight:500;"> 71 72 <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg> 72 <?php esc_html_e( 'Settings saved.', 'traceify ' ); ?>73 <?php esc_html_e( 'Settings saved.', 'traceify-for-woocommerce' ); ?> 73 74 </div> 74 75 … … 80 81 </div> 81 82 <button type="submit" form="trcfy-settings-form" class="trcfy-save-btn"> 82 <?php esc_html_e( 'Save changes', 'traceify ' ); ?>83 <?php esc_html_e( 'Save changes', 'traceify-for-woocommerce' ); ?> 83 84 </button> 84 85 </div> … … 94 95 <div class="trcfy-card-header"> 95 96 <div class="trcfy-card-dot"></div> 96 <h3><?php esc_html_e( 'BRANDING', 'traceify ' ); ?></h3>97 </div> 98 <div class="trcfy-row"> 99 <div class="trcfy-row-label"> 100 <strong><?php esc_html_e( 'Store name', 'traceify ' ); ?></strong>101 <span><?php esc_html_e( 'Used in WhatsApp and email message templates.', 'traceify ' ); ?></span>97 <h3><?php esc_html_e( 'BRANDING', 'traceify-for-woocommerce' ); ?></h3> 98 </div> 99 <div class="trcfy-row"> 100 <div class="trcfy-row-label"> 101 <strong><?php esc_html_e( 'Store name', 'traceify-for-woocommerce' ); ?></strong> 102 <span><?php esc_html_e( 'Used in WhatsApp and email message templates.', 'traceify-for-woocommerce' ); ?></span> 102 103 </div> 103 104 <div class="trcfy-row-control"> … … 108 109 <div class="trcfy-row"> 109 110 <div class="trcfy-row-label"> 110 <strong><?php esc_html_e( 'Brand color', 'traceify ' ); ?></strong>111 <span><?php esc_html_e( 'Applied to the tracking page timeline, buttons and focus states.', 'traceify ' ); ?></span>111 <strong><?php esc_html_e( 'Brand color', 'traceify-for-woocommerce' ); ?></strong> 112 <span><?php esc_html_e( 'Applied to the tracking page timeline, buttons and focus states.', 'traceify-for-woocommerce' ); ?></span> 112 113 </div> 113 114 <div class="trcfy-row-control"> … … 126 127 <div class="trcfy-row"> 127 128 <div class="trcfy-row-label"> 128 <strong><?php esc_html_e( 'Logo URL', 'traceify ' ); ?></strong>129 <span><?php esc_html_e( 'Shown at the top of the customer tracking page. Optional.', 'traceify ' ); ?></span>129 <strong><?php esc_html_e( 'Logo URL', 'traceify-for-woocommerce' ); ?></strong> 130 <span><?php esc_html_e( 'Shown at the top of the customer tracking page. Optional.', 'traceify-for-woocommerce' ); ?></span> 130 131 </div> 131 132 <div class="trcfy-row-control"> … … 143 144 <div class="trcfy-card-header"> 144 145 <div class="trcfy-card-dot" style="background:#25D366"></div> 145 <h3><?php esc_html_e( 'CONFIGURATION', 'traceify ' ); ?></h3>146 <h3><?php esc_html_e( 'CONFIGURATION', 'traceify-for-woocommerce' ); ?></h3> 146 147 </div> 147 148 <div class="trcfy-info"> 148 <?php esc_html_e( 'Uses WhatsApp\'s free wa.me link — no API or monthly fee. Clicking opens WhatsApp on your device with the message pre-filled.', 'traceify ' ); ?>149 </div> 150 <div class="trcfy-row"> 151 <div class="trcfy-row-label"> 152 <strong><?php esc_html_e( 'Business number', 'traceify ' ); ?></strong>153 <span><?php esc_html_e( 'Country code + digits only. e.g. 8801712345678', 'traceify ' ); ?></span>149 <?php esc_html_e( 'Uses WhatsApp\'s free wa.me link — no API or monthly fee. Clicking opens WhatsApp on your device with the message pre-filled.', 'traceify-for-woocommerce' ); ?> 150 </div> 151 <div class="trcfy-row"> 152 <div class="trcfy-row-label"> 153 <strong><?php esc_html_e( 'Business number', 'traceify-for-woocommerce' ); ?></strong> 154 <span><?php esc_html_e( 'Country code + digits only. e.g. 8801712345678', 'traceify-for-woocommerce' ); ?></span> 154 155 </div> 155 156 <div class="trcfy-row-control"> … … 161 162 <div class="trcfy-row"> 162 163 <div class="trcfy-row-label"> 163 <strong><?php esc_html_e( 'Customer contact button', 'traceify ' ); ?></strong>164 <span><?php esc_html_e( 'Show a "Chat on WhatsApp" button on the tracking page.', 'traceify ' ); ?></span>164 <strong><?php esc_html_e( 'Customer contact button', 'traceify-for-woocommerce' ); ?></strong> 165 <span><?php esc_html_e( 'Show a "Chat on WhatsApp" button on the tracking page.', 'traceify-for-woocommerce' ); ?></span> 165 166 </div> 166 167 <div class="trcfy-row-control"> … … 174 175 <div class="trcfy-row"> 175 176 <div class="trcfy-row-label"> 176 <strong><?php esc_html_e( 'Button label', 'traceify ' ); ?></strong>177 <span><?php esc_html_e( 'Text shown on the customer-facing WhatsApp button.', 'traceify ' ); ?></span>177 <strong><?php esc_html_e( 'Button label', 'traceify-for-woocommerce' ); ?></strong> 178 <span><?php esc_html_e( 'Text shown on the customer-facing WhatsApp button.', 'traceify-for-woocommerce' ); ?></span> 178 179 </div> 179 180 <div class="trcfy-row-control"> 180 181 <input type="text" name="trcfy_wa_customer_btn_label" class="trcfy-input trcfy-input-wide" 181 value="<?php echo esc_attr( get_option( 'trcfy_wa_customer_btn_label', __( 'Chat with us on WhatsApp', 'traceify ' ) ) ); ?>">182 value="<?php echo esc_attr( get_option( 'trcfy_wa_customer_btn_label', __( 'Chat with us on WhatsApp', 'traceify-for-woocommerce' ) ) ); ?>"> 182 183 </div> 183 184 </div> … … 187 188 <div class="trcfy-card-header"> 188 189 <div class="trcfy-card-dot" style="background:#25D366"></div> 189 <h3><?php esc_html_e( 'MESSAGE TEMPLATES', 'traceify ' ); ?></h3>190 <h3><?php esc_html_e( 'MESSAGE TEMPLATES', 'traceify-for-woocommerce' ); ?></h3> 190 191 </div> 191 192 <div class="trcfy-placeholder"> 192 <?php esc_html_e( 'Placeholders:', 'traceify ' ); ?>193 {customer_name} {order_number} {order_status} {order_total} {store_name} {tracking_url} 193 <?php esc_html_e( 'Placeholders:', 'traceify-for-woocommerce' ); ?> 194 {customer_name} {order_number} {order_status} {order_total} {store_name} {tracking_url} {tracking_number} {tracking_link} {courier_name} 194 195 </div> 195 196 <?php 196 197 $trcfy_wa_statuses = array( 197 'pending' => __( 'Pending Payment', 'traceify ' ),198 'processing' => __( 'Processing', 'traceify ' ),199 'on-hold' => __( 'On Hold', 'traceify ' ),200 'shipped' => __( 'Shipped', 'traceify ' ),201 'completed' => __( 'Completed / Delivered', 'traceify ' ),202 'cancelled' => __( 'Cancelled', 'traceify ' ),198 'pending' => __( 'Pending Payment', 'traceify-for-woocommerce' ), 199 'processing' => __( 'Processing', 'traceify-for-woocommerce' ), 200 'on-hold' => __( 'On Hold', 'traceify-for-woocommerce' ), 201 'shipped' => __( 'Shipped', 'traceify-for-woocommerce' ), 202 'completed' => __( 'Completed / Delivered', 'traceify-for-woocommerce' ), 203 'cancelled' => __( 'Cancelled', 'traceify-for-woocommerce' ), 203 204 ); 204 205 foreach ( $trcfy_wa_statuses as $trcfy_s_key => $trcfy_s_label ) : … … 224 225 <div class="trcfy-card-header"> 225 226 <div class="trcfy-card-dot" style="background:#0EA5E9"></div> 226 <h3><?php esc_html_e( 'PAGE SETUP', 'traceify ' ); ?></h3>227 </div> 228 <div class="trcfy-row"> 229 <div class="trcfy-row-label"> 230 <strong><?php esc_html_e( 'Tracking page', 'traceify ' ); ?></strong>231 <span><?php esc_html_e( 'The page containing the [traceify_tracker] shortcode.', 'traceify ' ); ?></span>227 <h3><?php esc_html_e( 'PAGE SETUP', 'traceify-for-woocommerce' ); ?></h3> 228 </div> 229 <div class="trcfy-row"> 230 <div class="trcfy-row-label"> 231 <strong><?php esc_html_e( 'Tracking page', 'traceify-for-woocommerce' ); ?></strong> 232 <span><?php esc_html_e( 'The page containing the [traceify_tracker] shortcode.', 'traceify-for-woocommerce' ); ?></span> 232 233 </div> 233 234 <div class="trcfy-row-control" style="gap:10px;display:flex;align-items:center;"> 234 235 <select name="trcfy_tracking_page_id" class="trcfy-select"> 235 <option value=""><?php esc_html_e( '— Select —', 'traceify ' ); ?></option>236 <option value=""><?php esc_html_e( '— Select —', 'traceify-for-woocommerce' ); ?></option> 236 237 <?php foreach ( $trcfy_pages as $trcfy_p ) : ?> 237 238 <option value="<?php echo absint( $trcfy_p->ID ); ?>" … … 245 246 rel="noopener noreferrer" 246 247 style="font-size:12px;color:#7C3AED;text-decoration:none;"> 247 <?php esc_html_e( 'View ↗', 'traceify ' ); ?>248 <?php esc_html_e( 'View ↗', 'traceify-for-woocommerce' ); ?> 248 249 </a> 249 250 <?php endif; ?> … … 252 253 <div class="trcfy-row"> 253 254 <div class="trcfy-row-label"> 254 <strong><?php esc_html_e( 'Shortcode', 'traceify ' ); ?></strong>255 <span><?php esc_html_e( 'Add to any page or post to embed the tracking form.', 'traceify ' ); ?></span>256 </div> 257 <div class="trcfy-row-control"> 258 <div class="trcfy-shortcode-pill" title="<?php esc_attr_e( 'Click to copy', 'traceify ' ); ?>">255 <strong><?php esc_html_e( 'Shortcode', 'traceify-for-woocommerce' ); ?></strong> 256 <span><?php esc_html_e( 'Add to any page or post to embed the tracking form.', 'traceify-for-woocommerce' ); ?></span> 257 </div> 258 <div class="trcfy-row-control"> 259 <div class="trcfy-shortcode-pill" title="<?php esc_attr_e( 'Click to copy', 'traceify-for-woocommerce' ); ?>"> 259 260 <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg> 260 261 <code>[traceify_tracker]</code> 261 <span class="trcfy-copied">✓ <?php esc_html_e( 'Copied', 'traceify ' ); ?></span>262 <span class="trcfy-copied">✓ <?php esc_html_e( 'Copied', 'traceify-for-woocommerce' ); ?></span> 262 263 </div> 264 </div> 265 </div> 266 </div> 267 </div> 268 269 <!-- ══ SHIPMENT TRACKING ══ --> 270 <div class="trcfy-section-body<?php echo ( 'shipment' === $trcfy_active ) ? ' active' : ''; ?>" id="section-shipment"> 271 <div class="trcfy-card"> 272 <div class="trcfy-card-header"> 273 <div class="trcfy-card-dot" style="background:#3B82F6"></div> 274 <h3><?php esc_html_e( 'SHIPMENT TRACKING', 'traceify-for-woocommerce' ); ?></h3> 275 </div> 276 <div class="trcfy-row"> 277 <div class="trcfy-row-label"> 278 <strong><?php esc_html_e( 'Enable shipment tracking', 'traceify-for-woocommerce' ); ?></strong> 279 <span><?php esc_html_e( 'Adds a courier + tracking number box to every order and shows it to customers.', 'traceify-for-woocommerce' ); ?></span> 280 </div> 281 <div class="trcfy-row-control"> 282 <label class="trcfy-toggle"> 283 <input type="checkbox" name="trcfy_shipment_enabled" value="yes" 284 <?php checked( 'yes', get_option( 'trcfy_shipment_enabled', 'yes' ) ); ?>> 285 <span class="trcfy-toggle-track"></span> 286 </label> 287 </div> 288 </div> 289 <div class="trcfy-row"> 290 <div class="trcfy-row-label"> 291 <strong><?php esc_html_e( 'Auto-mark as Shipped', 'traceify-for-woocommerce' ); ?></strong> 292 <span><?php esc_html_e( 'When a tracking number is first added to a Processing order, change its status to Shipped.', 'traceify-for-woocommerce' ); ?></span> 293 </div> 294 <div class="trcfy-row-control"> 295 <label class="trcfy-toggle"> 296 <input type="checkbox" name="trcfy_shipment_auto_shipped" value="yes" 297 <?php checked( 'yes', get_option( 'trcfy_shipment_auto_shipped', 'no' ) ); ?>> 298 <span class="trcfy-toggle-track"></span> 299 </label> 300 </div> 301 </div> 302 </div> 303 <div class="trcfy-card"> 304 <div class="trcfy-card-header"> 305 <div class="trcfy-card-dot" style="background:#8B5CF6"></div> 306 <h3><?php esc_html_e( 'CUSTOM COURIER', 'traceify-for-woocommerce' ); ?></h3> 307 </div> 308 <div class="trcfy-placeholder"> 309 <?php esc_html_e( 'Use {tracking_number} in the URL where the number goes, e.g. https://example.com/track?id={tracking_number}', 'traceify-for-woocommerce' ); ?> 310 </div> 311 <div class="trcfy-row"> 312 <div class="trcfy-row-label"> 313 <strong><?php esc_html_e( 'Courier name', 'traceify-for-woocommerce' ); ?></strong> 314 </div> 315 <div class="trcfy-row-control"> 316 <input type="text" name="trcfy_custom_courier_name" class="trcfy-input trcfy-input-wide" 317 value="<?php echo esc_attr( get_option( 'trcfy_custom_courier_name', '' ) ); ?>" 318 placeholder="<?php esc_attr_e( 'e.g. Pathao', 'traceify-for-woocommerce' ); ?>"> 319 </div> 320 </div> 321 <div class="trcfy-row"> 322 <div class="trcfy-row-label"> 323 <strong><?php esc_html_e( 'Tracking URL', 'traceify-for-woocommerce' ); ?></strong> 324 <span><?php esc_html_e( 'Must start with https://', 'traceify-for-woocommerce' ); ?></span> 325 </div> 326 <div class="trcfy-row-control"> 327 <input type="text" name="trcfy_custom_courier_url" class="trcfy-input trcfy-input-wide" 328 value="<?php echo esc_attr( get_option( 'trcfy_custom_courier_url', '' ) ); ?>" 329 placeholder="https://"> 263 330 </div> 264 331 </div> … … 271 338 <div class="trcfy-card-header"> 272 339 <div class="trcfy-card-dot" style="background:#F59E0B"></div> 273 <h3><?php esc_html_e( 'DELIVERY ESTIMATE', 'traceify ' ); ?></h3>274 </div> 275 <div class="trcfy-row"> 276 <div class="trcfy-row-label"> 277 <strong><?php esc_html_e( 'Enable estimated delivery', 'traceify ' ); ?></strong>278 <span><?php esc_html_e( 'Auto-calculate and show delivery date range on the tracking page.', 'traceify ' ); ?></span>340 <h3><?php esc_html_e( 'DELIVERY ESTIMATE', 'traceify-for-woocommerce' ); ?></h3> 341 </div> 342 <div class="trcfy-row"> 343 <div class="trcfy-row-label"> 344 <strong><?php esc_html_e( 'Enable estimated delivery', 'traceify-for-woocommerce' ); ?></strong> 345 <span><?php esc_html_e( 'Auto-calculate and show delivery date range on the tracking page.', 'traceify-for-woocommerce' ); ?></span> 279 346 </div> 280 347 <div class="trcfy-row-control"> … … 288 355 <div class="trcfy-row"> 289 356 <div class="trcfy-row-label"> 290 <strong><?php esc_html_e( 'Processing time', 'traceify ' ); ?></strong>291 <span><?php esc_html_e( 'Days to prepare the order before dispatch.', 'traceify ' ); ?></span>357 <strong><?php esc_html_e( 'Processing time', 'traceify-for-woocommerce' ); ?></strong> 358 <span><?php esc_html_e( 'Days to prepare the order before dispatch.', 'traceify-for-woocommerce' ); ?></span> 292 359 </div> 293 360 <div class="trcfy-row-control"> … … 295 362 min="0" max="30" 296 363 value="<?php echo absint( get_option( 'trcfy_edd_processing_days', 1 ) ); ?>"> 297 <span style="font-size:12px;color:#94A3B8;margin-left:8px;"><?php esc_html_e( 'days', 'traceify ' ); ?></span>298 </div> 299 </div> 300 <div class="trcfy-row"> 301 <div class="trcfy-row-label"> 302 <strong><?php esc_html_e( 'Shipping days range', 'traceify ' ); ?></strong>303 <span><?php esc_html_e( 'Min and max days in transit after dispatch.', 'traceify ' ); ?></span>364 <span style="font-size:12px;color:#94A3B8;margin-left:8px;"><?php esc_html_e( 'days', 'traceify-for-woocommerce' ); ?></span> 365 </div> 366 </div> 367 <div class="trcfy-row"> 368 <div class="trcfy-row-label"> 369 <strong><?php esc_html_e( 'Shipping days range', 'traceify-for-woocommerce' ); ?></strong> 370 <span><?php esc_html_e( 'Min and max days in transit after dispatch.', 'traceify-for-woocommerce' ); ?></span> 304 371 </div> 305 372 <div class="trcfy-row-control" style="gap:8px;display:flex;align-items:center;"> … … 307 374 min="1" max="60" 308 375 value="<?php echo absint( get_option( 'trcfy_edd_min_ship_days', 2 ) ); ?>"> 309 <span style="font-size:12px;color:#94A3B8;"><?php esc_html_e( 'to', 'traceify ' ); ?></span>376 <span style="font-size:12px;color:#94A3B8;"><?php esc_html_e( 'to', 'traceify-for-woocommerce' ); ?></span> 310 377 <input type="number" name="trcfy_edd_max_ship_days" class="trcfy-number-input" 311 378 min="1" max="60" 312 379 value="<?php echo absint( get_option( 'trcfy_edd_max_ship_days', 5 ) ); ?>"> 313 <span style="font-size:12px;color:#94A3B8;"><?php esc_html_e( 'days', 'traceify ' ); ?></span>314 </div> 315 </div> 316 <div class="trcfy-row"> 317 <div class="trcfy-row-label"> 318 <strong><?php esc_html_e( 'Exclude weekends', 'traceify ' ); ?></strong>319 <span><?php esc_html_e( 'Skip Saturday and Sunday when counting delivery days.', 'traceify ' ); ?></span>380 <span style="font-size:12px;color:#94A3B8;"><?php esc_html_e( 'days', 'traceify-for-woocommerce' ); ?></span> 381 </div> 382 </div> 383 <div class="trcfy-row"> 384 <div class="trcfy-row-label"> 385 <strong><?php esc_html_e( 'Exclude weekends', 'traceify-for-woocommerce' ); ?></strong> 386 <span><?php esc_html_e( 'Skip Saturday and Sunday when counting delivery days.', 'traceify-for-woocommerce' ); ?></span> 320 387 </div> 321 388 <div class="trcfy-row-control"> … … 335 402 <div class="trcfy-card-header"> 336 403 <div class="trcfy-card-dot" style="background:#EC4899"></div> 337 <h3><?php esc_html_e( 'EMAIL SETTINGS', 'traceify ' ); ?></h3>404 <h3><?php esc_html_e( 'EMAIL SETTINGS', 'traceify-for-woocommerce' ); ?></h3> 338 405 </div> 339 406 <div class="trcfy-info"> 340 <?php esc_html_e( '"Shipped" is ON by default — WooCommerce has no built-in shipped email. Other statuses are OFF to avoid duplicating WC\'s default emails.', 'traceify ' ); ?>341 </div> 342 <div class="trcfy-row"> 343 <div class="trcfy-row-label"> 344 <strong><?php esc_html_e( 'Enable email notifications', 'traceify ' ); ?></strong>345 <span><?php esc_html_e( 'Master toggle for all Traceify branded emails.', 'traceify ' ); ?></span>407 <?php esc_html_e( '"Shipped" is ON by default — WooCommerce has no built-in shipped email. Other statuses are OFF to avoid duplicating WC\'s default emails.', 'traceify-for-woocommerce' ); ?> 408 </div> 409 <div class="trcfy-row"> 410 <div class="trcfy-row-label"> 411 <strong><?php esc_html_e( 'Enable email notifications', 'traceify-for-woocommerce' ); ?></strong> 412 <span><?php esc_html_e( 'Master toggle for all Traceify branded emails.', 'traceify-for-woocommerce' ); ?></span> 346 413 </div> 347 414 <div class="trcfy-row-control"> … … 357 424 <?php 358 425 $trcfy_email_statuses = array( 359 'shipped' => array( 'label' => 'Shipped', 'on' => 'yes', 'note' => __( 'Recommended ON — no WC default.', 'traceify ' ) ),360 'processing' => array( 'label' => 'Processing', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify ' ) ),361 'completed' => array( 'label' => 'Completed', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify ' ) ),362 'on-hold' => array( 'label' => 'On Hold', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify ' ) ),363 'cancelled' => array( 'label' => 'Cancelled', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify ' ) ),426 'shipped' => array( 'label' => 'Shipped', 'on' => 'yes', 'note' => __( 'Recommended ON — no WC default.', 'traceify-for-woocommerce' ) ), 427 'processing' => array( 'label' => 'Processing', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify-for-woocommerce' ) ), 428 'completed' => array( 'label' => 'Completed', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify-for-woocommerce' ) ), 429 'on-hold' => array( 'label' => 'On Hold', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify-for-woocommerce' ) ), 430 'cancelled' => array( 'label' => 'Cancelled', 'on' => 'no', 'note' => __( 'WC already sends this.', 'traceify-for-woocommerce' ) ), 364 431 ); 365 432 $trcfy_default_subjects = TRCFY_Email_Notifier::default_subjects(); … … 378 445 </div> 379 446 <span class="trcfy-tag <?php echo ( 'yes' === $trcfy_is_enabled ) ? 'trcfy-tag-on' : 'trcfy-tag-off'; ?>"> 380 <?php echo ( 'yes' === $trcfy_is_enabled ) ? esc_html__( 'ON', 'traceify ' ) : esc_html__( 'OFF', 'traceify' ); ?>447 <?php echo ( 'yes' === $trcfy_is_enabled ) ? esc_html__( 'ON', 'traceify-for-woocommerce' ) : esc_html__( 'OFF', 'traceify-for-woocommerce' ); ?> 381 448 </span> 382 449 </div> 383 450 <div class="trcfy-row"> 384 451 <div class="trcfy-row-label"> 385 <strong><?php esc_html_e( 'Send email', 'traceify ' ); ?></strong>452 <strong><?php esc_html_e( 'Send email', 'traceify-for-woocommerce' ); ?></strong> 386 453 <span><?php echo esc_html( $trcfy_s_info['note'] ); ?></span> 387 454 </div> … … 396 463 <div class="trcfy-row trcfy-row-full"> 397 464 <div class="trcfy-row-label"> 398 <strong><?php esc_html_e( 'Email subject', 'traceify ' ); ?></strong>465 <strong><?php esc_html_e( 'Email subject', 'traceify-for-woocommerce' ); ?></strong> 399 466 </div> 400 467 <div class="trcfy-row-control">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)