__( 'Product suggestions', 'hamrah' ), 'type' => 'title', 'desc' => __( 'Suggestions are set on each product, in the "Suggestions" tab of the product data box. Each suggested product is added to the cart as its own line, so prices, stock and shipping stay correct.', 'hamrah' ), 'id' => 'hamrah_suggestions', ), array( 'title' => __( 'Default heading', 'hamrah' ), 'desc' => __( 'Shown above the suggestions when the product has no heading of its own.', 'hamrah' ), 'id' => 'hamrah_default_title', 'type' => 'text', 'default' => __( 'Complete your order', 'hamrah' ), ), array( 'title' => __( 'Show running total', 'hamrah' ), 'desc' => __( 'Show the total of the product plus the selected suggestions above the add to cart button.', 'hamrah' ), 'id' => 'hamrah_show_total', 'type' => 'checkbox', 'default' => 'yes', ), array( 'type' => 'sectionend', 'id' => 'hamrah_suggestions', ), array( 'title' => __( 'Gift boxes', 'hamrah' ), 'type' => 'title', 'desc' => __( 'Mark a product as a gift box in its Shipping tab. A box is offered for a product when it is chosen on the product, assigned to one of its categories, or (optionally) when the product fits inside it.', 'hamrah' ), 'id' => 'hamrah_gift', ), array( 'title' => __( 'Enable gift boxes', 'hamrah' ), 'desc' => __( 'Ask "Is this a gift?" on the product page and offer matching gift boxes.', 'hamrah' ), 'id' => 'hamrah_gift_enabled', 'type' => 'checkbox', 'default' => 'no', ), array( 'title' => __( 'Gift question', 'hamrah' ), 'id' => 'hamrah_gift_label', 'type' => 'text', 'default' => __( 'This is a gift', 'hamrah' ), ), array( 'title' => __( 'Match by size', 'hamrah' ), 'desc' => __( 'Also offer every gift box the product fits in, using the product dimensions and the box inner dimensions.', 'hamrah' ), 'id' => 'hamrah_gift_fit_by_size', 'type' => 'checkbox', 'default' => 'yes', ), array( 'title' => __( 'Packing margin (cm)', 'hamrah' ), 'desc' => __( 'Extra room needed on each side when checking whether a product fits a box.', 'hamrah' ), 'id' => 'hamrah_gift_padding', 'type' => 'number', 'default' => '1', 'custom_attributes' => array( 'min' => '0', 'step' => '0.1', ), ), array( 'title' => __( 'Gift message', 'hamrah' ), 'desc' => __( 'Let the customer write a message for the gift card.', 'hamrah' ), 'id' => 'hamrah_gift_message', 'type' => 'checkbox', 'default' => 'yes', ), array( 'title' => __( 'Message length', 'hamrah' ), 'desc' => __( 'Maximum number of characters.', 'hamrah' ), 'id' => 'hamrah_gift_message_max', 'type' => 'number', 'default' => '200', 'custom_attributes' => array( 'min' => '20', 'max' => '1000', 'step' => '1', ), ), array( 'title' => __( 'Hide prices option', 'hamrah' ), 'desc' => __( 'Let the customer ask for no prices on the packing slip of a gift.', 'hamrah' ), 'id' => 'hamrah_gift_hide_prices', 'type' => 'checkbox', 'default' => 'yes', ), array( 'type' => 'sectionend', 'id' => 'hamrah_gift', ), ); } }