• Resolved toughleather2019

    (@toughleather2019)


    how can I change the skip login button without effecting the ather wpmc button?

    I want the button to place next to the “login” button…

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    By default the “Skip Login” button can stay only in the right bottom corner of the “Login” step.

    For any plugin customizations, as for example moving the “Skip Login” button next to the “Login” button, please consider hiring a web developer.

    Thread Starter toughleather2019

    (@toughleather2019)

    ok thank you for the quick response. I have one further question: I changed the text on the first “next” button, and would like to change the text on the second “next” button but with a different text. Is this possible?

    Plugin Author SilkyPress

    (@diana_burduja)

    Yes, that would be possible with the wpmc_after_switching_tab JavaScript hook you’ve used before.

    By default the “Next” button can have only a set text on all the steps.

    For any plugin customizations, as for example renaming the “Next” button on a certain step, please consider hiring a web developer.

    Thread Starter toughleather2019

    (@toughleather2019)

    thank you !

    Thread Starter toughleather2019

    (@toughleather2019)

    I tried it with this: but it doesnt go, maybe you would find the mistake?

    <script>
    jQuery(function($){
    $(document).ready(function(){
    	$('.woocommerce-checkout #wpmc-next').click(function(){
    	if($('.woocommerce-checkout .wpmc-3-tabs .wpmc-payment').hasClass('current')){
          $('.woocommerce-checkout #wpmc-next').text('Weiter zur Bestellübersicht');
    	}
    	});
    	$('.woocommerce-checkout #wpmc-prev').click(function(){
    	if(!$('.woocommerce-checkout .wpmc-3-tabs .wpmc-payment').hasClass('current')){
          $('.woocommerce-checkout #wpmc-next').text('Weiter zur Zahlungsart');
    	}
    	});
    });
    });	
    </script>
    Plugin Author SilkyPress

    (@diana_burduja)

    As mentioned in a previous message, you change change the text by using the wpmc_after_switching_tab JavaScript hook.

    For example the code I gave you in this topic uses the wpmc_after_switching_tab JavaScript hook. You need to replace in that code .wpmc-review.current with .wpmc-payment.current, $('#text-4').hide(); with $('.woocommerce-checkout #wpmc-next').text('Weiter zur Bestellübersicht'); and $('#text-4').show(); with $('.woocommerce-checkout #wpmc-next').text('Weiter zur Zahlungsart');. I didn’t text this code, so you’ll have to correct any missing small thing.

    Note that I’m not here to debug any custom code. This is the last time I’m debugging any custom code from you. Please consider to hire a developer if you need any more help with your customizations.

    Thread Starter toughleather2019

    (@toughleather2019)

    thank you for this great support, ok I understand

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘change button position’ is closed to new replies.