Announcement

Collapse
No announcement yet.

Shipping / Payment Screen

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • K Series Parts
    started a topic Shipping / Payment Screen

    Shipping / Payment Screen

    On the shipping and payment selection screen for some reason I only have credit card as an option, I don't have PayPal or Affirm.

  • RTHOMASDESIGN
    replied
    Thanks for posting this Chris! We were having the same problem with the Luxe ReadyTheme and this solved it for us.

    Leave a comment:


  • K Series Parts
    replied
    that does make sense and how it is normally setup, the issue is how Luxe is designed with the side menu the customer will click on checkout so their process is different.

    The problem is actually the foreachstop since it stops the progress of the loop. So if PayPal is after American Express it will not load it. You have to reorder the payment priorities so that PayPal is above all credit cards.

    Code:
    <mvt:if expr="miva_array_elements(g.unique_payment_modules) EQ 1">
        <mvt:if expr="pos1 EQ 1">
            <input type="hidden" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" />
        </mvt:if>
    <mvt:else>
        <mvt:if expr="(l.settings:method:module EQ 'check') OR (l.settings:method:module EQ 'cod') OR (l.settings:method:module EQ 'customercredit') OR (l.settings:method:module EQ 'affirm') OR (l.settings:method:module EQ 'paypalpro')">
            <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> &mvt:method:name;
            </label>
        <mvt:elseif expr="l.settings:method:module NE 'check' AND l.settings:method:module NE 'cod' AND l.settings:method:module NE 'customercredit' AND l.settings:method:module NE 'affirm' AND (l.settings:method:module NE 'paypalpro')">
            <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> Credit Card
            </label>
            <mvt:foreachstop />
        </mvt:if>
    </mvt:if>

    Leave a comment:


  • Matt Zimmermann
    replied
    PayPal Express should only be accessible from the BASK page. I believe there is a separate token you would need to add to OSEL to have it show up.

    Leave a comment:


  • K Series Parts
    replied
    express

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Chris,

    Are you using one of the PayPal gateways or PayPal Express?

    Leave a comment:


  • K Series Parts
    replied
    That is what I had other than adding Affirm (which does show up) but PayPal doesn't.

    Code:
    <mvt:if expr="miva_array_elements(g.unique_payment_modules) EQ 1">
                                                <mvt:if expr="pos1 EQ 1">
                                                    <input type="hidden" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" />
                                                </mvt:if>
                                            <mvt:else>
                                                <mvt:if expr="(l.settings:method:module EQ 'check') OR (l.settings:method:module EQ 'cod') OR (l.settings:method:module EQ 'customercredit') OR (l.settings:method:module EQ 'affirm') OR ('pal' CIN l.settings:method:code)">
                                                    <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                                                        <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> &mvt:method:name;
                                                    </label>
                                                <mvt:elseif expr="l.settings:method:module NE 'check' AND l.settings:method:module NE 'cod' AND l.settings:method:module NE 'customercredit' AND l.settings:method:module NE 'affirm' AND NOT ('pal' CIN l.settings:method:code)">
                                                    <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                                                        <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> Credit Card
                                                    </label>
                                                    <mvt:foreachstop />
                                                </mvt:if>
                                            </mvt:if>

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Chris,

    On OSEL, try replacing this:
    Code:
    <mvt:if expr="miva_array_elements(g.unique_payment_modules) EQ 1">
        <mvt:if expr="pos1 EQ 1">
            <input type="hidden" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" />
        </mvt:if>
    <mvt:else>
        <mvt:if expr="(l.settings:method:module EQ 'check') OR (l.settings:method:module EQ 'cod') OR (l.settings:method:module EQ 'customercredit')">
            <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> &mvt:method:name;
            </label>
        <mvt:elseif expr="l.settings:method:module NE 'check' AND l.settings:method:module NE 'cod' AND l.settings:method:module NE 'customercredit' AND NOT('pal' CIN l.settings:method:code)">
            <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> Credit Card
            </label>
            <mvt:foreachstop />
        </mvt:if>
    </mvt:if>
    with this:
    Code:
    <mvt:if expr="miva_array_elements(g.unique_payment_modules) EQ 1">
        <mvt:if expr="pos1 EQ 1">
            <input type="hidden" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" />
        </mvt:if>
    <mvt:else>
        <mvt:if expr="(l.settings:method:module EQ 'check') OR (l.settings:method:module EQ 'cod') OR (l.settings:method:module EQ 'customercredit') OR ('pal' CIN l.settings:method:code)">
            <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> &mvt:method:name;
            </label>
        <mvt:elseif expr="l.settings:method:module NE 'check' AND l.settings:method:module NE 'cod' AND l.settings:method:module NE 'customercredit' AND NOT('pal' CIN l.settings:method:code)">
            <label class="input--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
                <input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> Credit Card
            </label>
            <mvt:foreachstop />
        </mvt:if>
    </mvt:if>

    Leave a comment:


  • K Series Parts
    replied
    I got Affirm to show up but can't get PayPal for some reason...

    Leave a comment:


  • K Series Parts
    replied
    Affirm is a financing option.

    So it is setup to hide or show so you can select, in my case, Affirm, Credit Card, or PayPal but I have to allow two of the options to show along with credit card.

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Chris,

    I'm not familiar with Affirm. With PayPal, to show the option, you will need to modify the IF statements on OSEL which check for PAL in the payment method.

    Leave a comment:

Working...
X

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept