Required Details for OMS Creation

  1. Client Name
  2. Company Name
  3. Warehouse Name
  4. Proper warehouse address with pincode and phone number
  5. Customer care email.
  6. Customer care number.
  7. Invoice Signature image small sized.
  8. GST Number
  9. Pan number
  10. Channel to be created with credentials.
  11. Client Domain.
  12. Client Email.
  13. Client Number.
  14. To whom access to be given –
    User details : Email, Number, Name, which warehouse access.

Paytm payment integration with Brandstore

Please follow the following steps to to use paytm as payment method-
1. Go to Extensions -> Payments
2. Look for Paytm payment and edit it.
3. Select the Store. There will be three tabs -General, order status and Promo code.
4. Under the General tab, fill up merchant id and merchant key provided to you by the client.
5. For transaction url, use https://securegw.paytm.in/theia/processTransaction and for Transaction Status URL, use https://securegw.paytm.in/merchant-status/getTxnStatus
6. For callback url, use your_website_url/index.php?route=extension/payment/paytm/callback . For example, https://www.menmoms.in/index.php?route=extension/payment/paytm/callback
7. Plugin status should be enabled.
8. Under the order status tab, Order Success status should be Processing and order failed status should be Failed.

Promotion Module

How to create a new promotional offer for a store?
1. Go to Extensions->Module-> Promotions
2. Click on the add new(+) button.


3. Click on the +New promotion button on the top.


4. On the window that follows, enter all the general settings.
-Module name
-Promotion name
-Stackable ->yes, if the promotion can be used with other promotions for the store.
-Choose start date and end date.
-Max allowed uses ->The promotion cannot be used for more than this number by all users combined.
-Promotion type -> choose either automatic promotion or coupon promotion. As the name suggest, automatic promotion will be applied by default if the conditions are met and for coupon promotion, customer will have to enter the coupon code.
-Select the store from Stores.

5. From the conditions tab, choose the conditions that needs to be hold true for a promotion to be applicable. The available conditions can be seen in the image below. You must also mention whether the promotion is applicable if all the conditions hold true or if some are true.(For more information, click on the i button)

6. From the actions tab-> Select action, choose the discount that you want to offer to the customer if her/his order fulfills the conditions set previously. Different discount types can be seen below in the image-

7. Choose either Fixed amount, Percentage or fixed price(lower than actual) from the Discount type drop down. This dropdown is not available for two actions – Cart total discount with ranges and Apply free shipping.

8. Enter other relevant information for the specific action. For example- for Specific product discount, enter the name of the products that will be discounted.
9. Press the save button in the top right corner.

API inventory OMS

OMS API for inventory update

API Type : GET

URL :

http://fulfill.anscommerce.com/index.php?load=Feed/updateInventory

Credentials :

api_key= ”

warehouse_code -> 

Keys :

  1. type ( mandatory, can use only add, replace, subtract)
  2. sku
  3. ean
  4. warehouse_code (mandatory , provided by OMS)
  5. api_key (mandatory provided by OMS)
  6. quantity (mandatory) 

Either Sku or Ean (atlas one) is mandatory.. 

Bulk Update :

URL : http://fulfill.anscommerce.com/index.php?load=Feed/bulkInventoryUpload
Request : POST
Type-Request: Json
Type of update will be default : replace inventory
Json Body :
{
“warehouse_code”: “KKCLKLR”,
“api_key”: “KKCLAPIOMSPMS”,
“products”: [{
“sku”: “KLTRP-103NS-1-R/L-BK-L”,
“quantity”: 3
}, {
“sku”: “KLTRP-103NS-1-R/L-BK-M”,
“quantity”: 1
}, {
“ean”: “1234567”,
“quantity”: 2
}]
}

How to clear cache

Steps for clearing the cache-

1. Go to https://www.ruosh.com/clear-cache-hide.php
2. Choose delete from Action drop down menu
3. Choose store from the Store drop down menu
4. From the radio buttons, choose the option for which you made changes in the website. For example if you have made changes in PDP, please choose  _catalog_controller_product_product_  first.
5. Now enter userid and password in the boxes as shown in the image below.userid would be the current date in the format MMDDYYYY and password would also be the current date, but in the format YYYYDDMM.

image.png

6. Next Click the submit button.
7.Now again repeat the whole process but this time choose _catalog_model_catalog_product_ from the radio buttons because you had made changes in the PDP.
8.Enter userid and password.
9. Click submit button and cache is cleared.

Note that the date is according to GST which is 5:30 hours behind IST.

Solving Add to cart – Loading error- fbq error

When you click the add to cart button, sometimes you may get the error as shown in the picture below. The text of add to cart and buy now button changes to LOADING…

Upon inspecting the Buttons you will the error Uncaught ReferenceError: fbq is not defined  in the console as shown in the the image below.


HOW TO SOLVE THIS ERROR
1. In the admin panel, Go to Extensions -> Extensions.
2. From the drop down table of Choose the extension type, choose Analytics.
3. Now in the analytics section, go to Google Analytics and from there choose the store for which the error is showing up.


4. After choosing the store, you will be directed to the page as shown in the image below.

5. In the Google analytics code paste the following script.

<!– Facebook Pixel Code –>

<script>

 !function(f,b,e,v,n,t,s)

 {if(f.fbq)return;n=f.fbq=function(){n.callMethod?

 n.callMethod.apply(n,arguments):n.queue.push(arguments)};

 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;

 n.queue=[];t=b.createElement(e);t.async=!0;

 t.src=v;s=b.getElementsByTagName(e)[0];

 s.parentNode.insertBefore(t,s)}(window, document,’script’,

 ‘https://connect.facebook.net/en_US/fbevents.js‘);

</script>

<!– End Facebook Pixel Code –>

6. Now You just need to clear the cache for catalog_controller_startup and system_library

7. The error should be gone now.


Checking Order logs

How to Check the Order Logs-
1. Go to System-> Tools -> Data Log
2. Select from Table drop down menu whichever log you want to see. For example- choose Gofynd Log.
3. Now you can search the order from the Gofynd order id.

4. The logs will come in the following format


5. You can find the Response from gofynd payload. Payload is Body in the above images and signifies what information we to gofynd and Response if response from gofynd.










Kartify API Documentation

Kartify Api Integration.

URL : ( website client url)

Security key : ( will be provided by tech@anscommerce.com )

For both the details you have to ask your client.

1. Active Product Fetch : (Method : GET)

URL : /index.php?route=feed/rest_api/activeProducts

Param :

key : Security key.

pageNumber :

Descripton : You will get 100 products in each page. And “totalProducts” : count of products.

2. Order List Fetch : (Method : GET)

URL : /index.php?route=feed/rest_api/pendingOrders

Parameters

key : Security key.

statusId : mentioned below

  • 7 : Canceled
  • 9 : Canceled Reversal
  • 13 : Chargeback
  • 5 : Complete
  • 18 : Delivered
  • 8 : Denied
  • 14 : Expired
  • 10 : Failed
  • 21 : Partially Refunded
  • 1 : Pending
  • 15 : Processed
  • 2 : Processing
  • 11 : Refunded
  • 17 : Return
  • 20 : Return Complete
  • 19 : Return Expected
  • 12 : Reversed
  • 3 : Shipped
  • 16 : Voided
  • New Orders are Pending and Processing ( 1, 2)

3. Fetch Order Details By Id : (Method : GET)

URL : /index.php?route=feed/rest_api/orderDetail

Parameters

key : Security key.

id : ORDER ID

4.  Update Order Status : (Method : GET)

URL : /index.php?route=feed/rest_api/updateOrderStatus

Parameters

key : Security key.

statusId : 3 ( to mark shipped )

id : (Order Id)

tracking_no : (Shipping Provider Tracking Number)

shipping_provider : Shipping Provider Name

5. Update Inventory : (Method : GET)

URL : /index.php?route=feed/rest_api/updateProduct

Parameters :

key : Security key.

quantity  : quantity of product

id : product id

variantId : variant id ( this is required for options size, color etc. )