Plugin Directory

Changeset 2873930


Ignore:
Timestamp:
03/02/2023 07:41:10 PM (3 years ago)
Author:
aftercommerce
Message:

disable button when checked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • afterinc-app/trunk/Custom_app.php

    r2873901 r2873930  
    12351235              <input type="hidden" class="warranty-id" value="<?php echo esc_attr($result[0]->id); ?>">
    12361236
    1237               <input type="radio" name="warranty_<?php echo esc_attr($item_key); ?>" class="price-variation-on-cart warranty-button" warranty-price="0" plan-id="none" product-id="<?php echo esc_attr($productId); ?>" item-key="<?php echo esc_attr($item_key); ?>" <?php echo esc_attr($plan_id) == 'none' ? 'checked' : '' ?>>None<br>     
     1237              <input type="radio" name="warranty_<?php echo esc_attr($item_key); ?>" class="price-variation-on-cart warranty-button" warranty-price="0" plan-id="none" product-id="<?php echo esc_attr($productId); ?>" item-key="<?php echo esc_attr($item_key); ?>" <?php echo esc_attr($plan_id) == 'none' ? 'checked disabled' : '' ?>>None<br>     
    12381238            <?php
    12391239              $i = 1;
Note: See TracChangeset for help on using the changeset viewer.