Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Oct 2019
    Posts
    1
    Member #
    61037

    Trying to add code to have minimum order but need help

    I am trying to add code to set a minimum order when checking out prior to shipping.
    I can do it correctly on my test website since it uses bigcommerce shopping cart but the one I am trying to put code in on is a 3rd party one and not supportive of what I am doing.
    Where would I add the codes or what is the code I should be adding? Any help would be much appreciated.

    Here is what my cart.html without minimum code or message stating it has a minimum
    ---
    cart: true
    ---
    {{#partial "page"}}
    <div class="page">

    <main class="page-content" data-cart>
    {{> components/common/breadcrumbs breadcrumbs=breadcrumbs}}

    {{> components/cart/page-title}}

    <div data-cart-status>
    {{> components/cart/status-messages}}
    </div>

    {{#if cart.items.length}}
    <div class="loadingOverlay"></div>

    <div data-cart-content>
    {{> components/cart/content}}
    </div>

    <div data-cart-totals>
    {{> components/cart/totals}}
    </div>

    {{#if cart.show_primary_checkout_button}}
    <div class="cart-actions">
    <a class="button button--primary" href="{{urls.checkout.single_address}}" title="{{lang 'cart.checkout.title'}}">{{lang 'cart.checkout.button'}}</a>
    {{#if cart.show_multiple_address_shipping}}
    <a class="checkoutMultiple" href="{{urls.checkout.multiple_address}}">
    {{lang 'cart.preview.checkout_multiple'}}
    </a>
    {{/if}}
    </div>
    {{else}}
    <div class="cart-actions">
    <a class="button" href="{{urls.home}}" title="{{lang 'cart.continue_shopping'}}">{{lang 'cart.continue_shopping'}}</a>
    </div>
    {{/if}}

    {{#if cart.additional_checkout_buttons}}
    <div class="cart-additionalCheckoutButtons">
    {{#each cart.additional_checkout_buttons}}
    {{{this}}}
    {{/each}}
    </div>
    {{/if}}
    {{else}}
    <h3>{{lang 'cart.checkout.empty_cart'}}</h3>
    {{{ remote_api_scripts }}}
    {{/if}}

    {{{snippet 'cart'}}}
    </main>
    </div>
    {{/partial}}
    {{> layout/base}}
    Last edited by Purehobby; Oct 14th, 2019 at 03:32 PM.

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:24 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com