Recommended PrestShop Version

Thanks for choosing Agile.
For customers using our Agile Multiple Seller module and its accessry modules, we highly recommend to use PrestaShop 1.6x or 1.7.5 or lower. PrestaShop has made some changes in versions higher than 1.7.6 that makes it possible or very difficult to implement some of features via hooks, or override, since required hooks or override is not available.

Sept. 05, 2019
 

How To Configure The Agile PrestaShop Prepaid Credit Module (Part 2 - Check out mode)

 

Contents for Configuration

 

* Go to the Configuration page

* Token Settings

     - Product Repurchase

     - Checkout Mode

     - Token Unit Price

     - Credit Product Category

     - Token Package Block

     - Hide token info

* Field Settings

     - Field Visibility

 

 

Check Out Mode


The Agile Prepaid Credit module provides a flexible check out mode to meet the various needs of your customers. 

Agile-PrestaShop-prepaid-credit-module-1.5-014-configuration-check-out-mode

 

 

One Click Checkout
 

In this mode, only tokens can be used to purchase products (other than the products listed under the “Tokens” category). If the user has enough tokens to purchase selected products, then the checkout and the payment can be completed in one click.  If the user doesn’t have enough tokens, they will be redirected to the “Tokens” category in order to buy more tokens. The user cannot use the shopping cart to buy multiple products at the same time with this one-click-checkout mode.

When the customer has logged in and wants to buy a product, a popup window appears when clicking the “Add to cart” button at the product information page.

 Agile-PrestaShop-prepaid-credit-module-1.5-015-purchase-a-product-3

 

One click on the “Confirm” button on this popup window will confirm this order and complete the payment. Then, a message saying “You have purchased this product” will be displayed below the price of this product, and the customer will receive two emails (order confirmation email and payment received email) as usual.

Agile-PrestaShop-prepaid-credit-module-1.5-012-configuration-repurchase 

 

If the customer does not has enough tokens to buy this product, the customer will be directed to the token package list after they click the  “Confirm” button in the popup window.

 Agile-PrestaShop-prepaid-credit-module-1.5-016-purchase-token-product-1

 

If the customer has not logged in, a popup window is displayed when clicking the “Add to cart” button.  Clicking the “Confirm” button on this popup window will direct the customer to the login page.


 

Normal Checkout

Customers can also use the shopping cart in Normal checkout mode by adding one or more products to their shopping cart using the “Add to cart” button in the product page.

Customers can view all the products in their shopping cart by clicking the “Cart” button, which is always shown on the top right of the screen. 

Agile-PrestaShop-prepaid-credit-module-1.5-017configuration-check-out-mode-normal-1-shopping-cart-button 

 

Customers can pay with a combination of tokens and other payments at normal checkout. If the customer doesn’t want to use any credits, they can proceed to click the “Next” button to go on to the validation screen.

Or, they could put the value of credits they would like to spend in the “Use Your Credits” form, and then click the “Add to cart” button. Then the credits will be deducted from the total amount.  The customer would then click the “Next” button to continue validating the order and choose another payment option for the balance.

 

Agile-PrestaShop-prepaid-credit-module-1.5-018-configuration-check-out-mode-normal-2 

 

For example, the customer wants to buy two products with a total CAD $255.52, and they put 100 in the “User your Credits” form, then click “Add” button.

 

The credits value will be shown in the shopping cart summary list, and the tokens valued $100 will be deducted from the total. That leaves the amount total of $155.52, which needs to be paid by other payment methods.  The customer will then continue the checkout process by clicking “Next” button.

 

Agile-PrestaShop-prepaid-credit-module-1.5-019-configuration-check-out-mode-normal-3 

 

Credits can only be added to the order once.  If the user tries to add the credits a second time, a warning sign will be displayed as below.

 Agile-PrestaShop-prepaid-credit-module-1.5-020-configuration-check-out-mode-normal-4

 

 

 

 Combination

This setting will combine the above two checkout modes (one-click checkout mode and normal checkout mode).

The customer will validate the order and complete the payment in one click if they have enough tokens for the selected product(s). When the customer clicks the “Add to cart” button, a pop-up window displays and says that required tokens will be deducted from the customer’s account.  If the customer confirms this choice, the order and payment will be completed in one click.

 Agile-PrestaShop-prepaid-credit-module-1.5-021-configuration-check-out-mode-combination-1

 

If the customer doesn’t have enough tokens for the products they want to buy, they will be directed to the shopping cart summary page to go through the normal checkout process. The pop-up window displays when the “Add to cart” button is clicked as shown above. The customer confirms that they wants to proceed with product purchase, and they will be taken to the shopping cart summary page since they do not have enough tokens in their account for this order.