Cart-2 page fix updating text cart store

10 replies2 participantsUpdated by Andrew Mitchell

  • Avatar: ivan
    ivan
    Participant

    Hello support team,

    I need your assistance with updating some text on the cart page of the store:

    URL:
    https://araujofit.com/tienda/cart-2/

    Requested changes:

    Replace the text “ACU” with “Aplicar Cupón” on the coupon button.
    Replace the text “Pasar a la caja” with “Finalizar compra” on the main cart button.

    Files is visible for topic creator and
    support staff only.

    10 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, ivan,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: ivan
    ivan
    Participant

    ready

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, ivan,

    Thank you for providing access. However, the credentials you shared lead to a different website – or more precisely, to the same site but with a different theme (Prowess) installed via FTP.

    Could you please specify the path to the location where our theme is installed?

    Best regards,
    8Theme Team

    Avatar: ivan
    ivan
    Participant

    see attach

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, ivan,

    Thank you for the clarification. We have added the following custom code to the functions.php file of your child theme in order to modify these translations.

    add_action( 'wp_enqueue_scripts', function() {
        wp_add_inline_script( 'jquery', "
            jQuery(document).ready(function($){
                $('input[name=\"apply_coupon\"]').val('Aplicar Cupón').css('width', '130px');
            });
        " );
    });
    
    add_action( 'wp_enqueue_scripts', function() {
        wp_add_inline_script( 'jquery', "
            jQuery(document).on('updated_wc_div updated_cart_totals', function(){
                jQuery('.wc-proceed-to-checkout a.checkout-button').text('Finalizar compra');
            });
    		jQuery(document).ready(function($){
                jQuery('.wc-proceed-to-checkout a.checkout-button').text('Finalizar compra');
            });
        " );
    });

    Best regards,
    8Theme Team

    Avatar: ivan
    ivan
    Participant

    Thank you very much, I already saw the change reflected. However, when the coupon is applied and the field refreshes, it goes back to “ACU”.

    Avatar: ivan
    ivan
    Participant

    And another requirement in the checkout session, in the shopping cart payment option: currently, users have to click the “Pago con tarjeta” button for the card payment form to appear. Is it possible for the payment form to be displayed automatically as an embedded form, without requiring that click? https://araujofit.com/tienda/checkout-2/

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, ivan,

    Unfortunately, no. This form uses asynchronous loading, and the form will not appear on the page until the button is clicked. This approach is implemented by the payment provider to prevent payment requests from bots

    Best regards,
    8Theme Team

    Avatar: ivan
    ivan
    Participant

    Ok thanks you and your this when the coupon is applied and the field refreshes, it goes back to “ACU”.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, ivan,

    Thank you for informing us about the issue with the coupon after its application. We have resolved the problem; please check it again.

    Best regards,
    The 8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register