You are on page 1of 7

Gift Wrap Document

Creating a Gift Wrap Applicable Product :


Navigate to cocofs url.
For staging, http://54.251.152.42:10322/login (cocofs@snapdeal.com/123456).
(get it from snap deal DB, snapdeal_property table where name like %cocofs%;

http://ite3.snapdeal.com:10322

Navigate to SellerSUPC FM Mapping, and download the mapping template.


Edit the template with valid credentials and upload.

Gift Wrap Document

After Upload, navigate to Admin Tasks>>Task Detail(on LHS)>>Update Task Info, and start JobPoller job.
Now verify the POG using gift wrap API.
curl -v -X POST -HContent-Type:application/json --data-binary
'{"supc":"574135","vendorCode":"0cac8d","sellingPrice":"100","responseProtocol":"PROTOCOL_JSON","requestProtoco
l":"PROTOCOL_JSON"}' http://127.0.0.1:8081/service/cocofs/getGiftWrapperInfoBySUPCVendor | python -m json.tool
(For Staging)

Gift Wrap Document


sellingPrice is optional. if null/not given, will be asked from IPMS.
After cache reload, wait for 15 minutes, as 15minutes cache is enabled at mobile end.

Check the mobile flag is true in snapdeal DB.


Giftwrap will be visible on PDP and payment page, only if the flag is set true.
Check PDP page:

Gift Wrap Document

Now select the product, go to payment page, and check the Giftwrap option:

Gift Wrap Document

Apply gift wrap, and check gift wrap apply omniture script getting called.
Script will get called for gift wrap apply/edit/remove.

Omniture on gift wrap apply.

Gift Wrap Document

Omniture on gift wrap remove.

Book the order, and check order details, it should be having gift wrap charges:

Gift Wrap Document

Test Scenarios:
1. Without gift wrap charges:
Message of order booking will go to the mobile number and name entered in shipping page.
2. With gift wrap charges:
Message of order booking will go to the mobile number and name entered in payment page under gift wrap tab.
3. With gift wrap charges after editing info:
Message of order booking will go to the mobile number and name edited in payment page under gift wrap tab.
4. With gift wrap charges after removal:
Message of order booking will go to the mobile number and name entered in shipping page.

You might also like