• Hi,

    I have added an admin field and mark to show on product page and cart page, however the data only show at the product page but not work on cart page. How to fix it? thanks

Viewing 1 replies (of 1 total)
  • Hello,

    I had the same issue, only with readonly fields or value fields.

    For readonly fields, it’s due to the “disabled” attribut added to <input> htlm tag. By using “readonly” attribut instead “disabled”, your field is transfered into the cart page.
    For text fields for exemple, see \classes\fields\wcff-text.php l. 276 and replace
    //$readonly = ( $readonly == “yes” ) ? “disabled” : “”;
    $readonly = ( $readonly == “yes” ) ? “readonly” : “”;
    For having readonly look for your field, just modify styles.css.

Viewing 1 replies (of 1 total)
  • The topic ‘The custom field do not show at cart page’ is closed to new replies.