New Landing How can we help? Themeforest Theme Support Uplift questions on checkout page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Uplift
  • #287563
    seabreezeh
    Member
    Post count: 38

    Hello nice team helper ,
    I have few questions on the checkout page please help
    1. how can I make phone field as an option rather as a must ?
    2. there are 4 links on top of the checkout page : email – shipping -return -faq( please see the attachment )
    how I can edit those link ? I can’t edit in checkout page ?
    3. there are few pages and few plugins are duplicated ? how can I remove them and just leave the most current there
    thank you so much for your helps ๐Ÿ™‚
    Van

    Attachments:
    You must be logged in to view attached files.
    #287577
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1-Please paste this code at functions.php of child theme.

    <?php
    add_filter( 'woocommerce_billing_fields', 'wc_npr_filter_phone', 10, 1 );
    function wc_npr_filter_phone( $address_fields ) {
    	$address_fields['billing_phone']['required'] = false;
    	return $address_fields;
    }
    ?>

    2- What do you want edit in these links exactly?

    3- Just delete duplicate plugin through FTP software.

    Thanks
    Mohammad

    #287750
    seabreezeh
    Member
    Post count: 38

    Hello ,
    1. I placed the code at the end of child them function , I got this error :
    Parse error: syntax error, unexpected ‘<‘ in /home4/ocean29/public_html/wp-content/themes/uplift/functions.php on line 577 and now my homepage is gone ๐Ÿ™ would you do it for me . I don’t code ๐Ÿ™
    2. I want either remove those links or add the text there accordingly .
    thank you dear .
    Van

    #287906
    David Martin – Support
    Moderator
    Post count: 20834

    1) Remove the PHP brackets, it should be:

    add_filter( 'woocommerce_billing_fields', 'wc_npr_filter_phone', 10, 1 );
    function wc_npr_filter_phone( $address_fields ) {
    	$address_fields['billing_phone']['required'] = false;
    	return $address_fields;
    }

    2) You can edit those: Theme Options => WooCommerce Options

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register