Add Track Button to CS-Cart store

Enable tracking at your CS-Cart store with the AfterShip Track Button and allow shoppers to track orders with just one click. The Track Button helps you to provide a swift tracking experience and exceptional customer service.

🔧 Add a New Page

  1. Login to your CS-Cart store > Website > Pages 
  2. Click “+” action button > Add page > Enter name 
  3. Create page

🔧 Insert Track Button

  1. Login to your CS-Cart store > Website > Pages > Select a page to add Track Button 
  2. Click “<>” action button > Copy below-mentioned code and paste in HTML source editor
<div id="as-root">
</div>
(function(e,t,n){var r,i=e.getElementsByTagName(t)[0];if(e.getElementById(n))return;r=e.createElement(t);r.id=n;r.src="//button.aftership.com/all.js";i.parentNode.insertBefore(r,i)})(document,"script","aftership-jssdk")
<div class="as-track-button" data-size="large" data-domain="track.aftership.com">
</div>
		

 Save changes

3. Note down page_id (Specified in the URL) > Layouts tab

4. Select block to add page > Block options > Content tab

5. Add page to footer menu items by inserting below-mentioned code

<li><a href="{"pages.view?page_id=41"|fn_url}">Track Order Status</a></li>

For “id”, enter value mentioned in step 4. In place of “Track your order”, enter page name.

6. Save Changes 

7. Open the block again and enable “Use this content for all the block instances”

You can also replace data-domain="track.aftership.com with AfterShip username or custom domain and apply your carrier settings.

 

Was this article helpful?
0 out of 1 found this helpful