Back to Top

Product Auction for Shopify: How to Paste Codes in Liquid File

Updated 23 January 2020

Product Auction App for Shopify enables the feature of bid or auction on your eCommerce website. With this, the admin can enable the bidding feature on products he wants to go for auction and can monitor all the bids happening on the store from the app itself and much more.
Moreover, to get the auction tab displayed on the front end and to configure it on your store, few codes are required to be pasted in the .liquid file of your store.

After installation, you are required to configure the app by pasting the below codes given in the configuration section of the app. We will now see the detailed description of how and which code to paste to where:

Code Paste
Code pasting12
code pasting2
auto inject code
display timer
paste the codes
code paste23
code paste24
code paste27
code pasting0

So let’s go one by one:

In another tab open the online store section of your Shopify store >>> Click on themes >>> and from the dotted menu button on the top right choose ‘edit HTML/CSS option’

Now you are here at the HTML/CSS page.

Searching for a Shopify
Headless solution ?
Find out More

For product.liquid

<div id=”wk-auction” prod-id=”{{ product.id }}” cust-id=”{{ customer.id }}”></div>

Paste this code where you want the auction window to get positioned/ displayed . For example i want it to be above add to cart button, so i will paste this code just above the div of add to cart. (ref this screenshot)

screenshot_12

And paste the code at the very beginning and end respectively in the product.liquid file.

screenshot_9
screenshot_10

For Search-result-grid.liquid(snippets) and product-grid-item.liquid(snippets)

****And similarly (as shown in the image right above ) paste the respective codes for search-result-grid.liquid(snippets) and product-grid-item.liquid(snippets).
Now most noteworthy fact is that there may happen to be a possibility where you do not find these two .liquid files on the basis of theme chosen by you, as a result, you may find it difficult to look for the .liquid file responsible for listing of collections/products or you can also contact us and let us know, we will do it for you.For Customers.account/liquid

Now, coming on to customers.account/liquid file, paste this code to display bids on my account page of customer/bidder.
You can paste this code where ever you wish to display my bids button on my account page.

<div id=”wk-auction” cust-id=”{{ customer.id }}”></div>

screenshot_11

Shopify Product Auction: Demo Details

Support

For any kind of technical assistance, just raise a ticket at http://webkul.uvdesk.com/ and for any doubt contact us  at [email protected]

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


2 comments

  • Melissa Smith
    • Nitika Srivastava
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content