Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #1890964
how to edit checkout information
Closed

Comments

  • Yocheved Bursztyn started the conversation

    1. I want to change some of the options in the checkout information. For example, I want to change it from "company name" to "business." How can I do this?

    2. How can I display the product information underneath the product? Look at link: http://prntscr.com/mjm4ea

    Thank you!

  •  228
    Milingona replied

    Hi Yocheved

    1. To change that you need to add the following code into 'wp-content/themes/bakery/functions.php':

    add_filter( 'woocommerce_checkout_fields' , 'bakery_override_woocommerce_checkout_fields' );
    function bakery_override_woocommerce_checkout_fields( $fields ) {
        $fields['billing']['billing_company']['label'] = 'Business';     return $fields;
    }

    2. You can achieve that by adding the following code into Bakery > Custom Code > Custom CSS:

    .vu_wc-product.vu_p-style-4  .vu_p-image {
       background-size: 90% !important;
       background-color: #fff !important;
    }
    .vu_wc-product.vu_p-style-4 .vu_p-image > span {
       position: static !important;
    }
    .vu_wc-product.vu_p-style-4  .vu_p-image img {
       display: block !important;
       visibility: hidden !important;
    }
    .vu_wc-product.vu_p-style-4 .vu_p-icons {
       top: calc(35% + 10px) !important;
    }
    .vu_wc-product.vu_p-style-4 .vu_p-content {
       padding: 0 10px 20px !important;
    }

    Kind regards,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  • Yocheved Bursztyn replied

    2. I put the code into the css but the product information is still not displaying. How can I make it display? http://prntscr.com/mjyutx

  •  228
    Milingona replied

    Can you please let us know which product information you want to include. We will also need your WP credentials to implement that.

    Thanks,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •   Yocheved Bursztyn replied privately
  • Yocheved Bursztyn replied

    I sent some questions yesterday. Can you please reply asap?

    Thank you!

  •   Yocheved Bursztyn replied privately
  •  228
    Milingona replied

    Hello Yocheved,

    Apologies for the late response. We have been busy working on a new theme update.

    Please find below the answers to your questions:

    1. Looks that you have already fixed that. That could have been fixed from WooCommerce > Settings > Advanced tab.

    2. The question is not so clear. View cart option is always possible via header. Also, once a product is added to the cart, a link to view the cart is shown.

    3. We could fix that only if two buttons: Link to Product and Add to Cart were not shown on hover state. With this current situation making all image clickable is not possible.

    4. Fixed! The following code was added to wp-content/themes/bakery/functions.php file:

    if ( !function_exists('bakery_wc_gettext') ) {
        function bakery_wc_gettext($translated_text, $text, $domain) {
            switch ( $translated_text ) {
                case 'Ship to a different address?':
                $translated_text = __( 'Shipping address', 'woocommerce' );
                break;
            }         return $translated_text;
        }     add_filter('gettext', 'bakery_wc_gettext', 20, 3);
    }

    Best regards,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  • Yocheved Bursztyn replied

    Thank you very much!

      1. On the checkout page, instead of "ship to a different address" can you change it to "Shipping address." Also get rid of the checkmark so that you see all the options.


  •  228
    Milingona replied

    Done! Please check it and let us know your feedback.


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  • Yocheved Bursztyn replied

    perfect! Thank you so much!

  •  228
    Milingona replied

    You're most welcome! :-)


    Milingona Support

    Follow on     Envato     Facebook     Twitter