Add Track Button: CS-Cart store

1. Add New Page

a. Login to your CS-Cart
b. Click  Website >  Content
c. Click  + >  Add

2. Insert Track Button Code

a. Input  Track Button Code 

<div id="as-root">
(function(e,t,n){var r,i=e.getElementsByTagName(t)[0];if(e.getElementById(n))return;r=e.createElement(t);;r.src="//";i.parentNode.insertBefore(r,i)})(document,"script","aftership-jssdk")
<div class="as-track-button" data-size="large" data-domain="">

b. Remember to login to your AfterShip account >  apps > Track Button for custom style. You can also replace data-domain="" with your AfterShip username or custom domain to display tracking results, and apply your carrier settings. 

c. Click  Save

d. Save the  page_idwhich you will use later

e. Click  Blocks


3. Insert Track Button Code

a. Edit the Block that you want to insert the Track Page
b. Insert the Track Order Page
<li><a href="{"pages.view?page_id=41"|fn_url}">Track Order Status</a></li>
c. Click  Use this content for all the block instances

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