This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var des = bundle.inputData.description; | |
var qty = bundle.inputData.qty; | |
var rate = bundle.inputData.rate; | |
var serv = bundle.inputData.service; | |
var servID = bundle.inputData.serviceID; | |
var shippingAmount = bundle.inputData.shipping; | |
var desFin = des.split(','); | |
var qtyFin = qty.split(','); | |
var rateFin = rate.split(','); | |
var servFin = serv.split(','); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//on ajax POST of user defined var | |
if(isset($_POST['msg'])){ | |
//include the SQL configuration and request | |
include('configFiles.php'); | |
//var sent with POST to be queried | |
$keywords = $_POST['keywords']; | |
//send queries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--progress bar edited From: https://www.w3schools.com/howto/howto_js_progressbar.asp--> | |
<!--Thank you html & countDown function from: https://www.jotform.com/help/89-Create-a-Custom-Thank-you-page-with-Auto-redirect--> | |
<!--redirect page--> | |
<!--create a new page and add this to the script area--> | |
<div style="text-align: center;"> | |
<h1>Thank you!</h1> | |
<p> </p> | |
<p>Your request has been received and our team is reviewing. Need another estimate? Click Upload RFQ or Build RFQ Request on the tab above!</p> | |
<span id="timer"> </span> | |
<div id="myProgress" style="width: 100%; background-color: #ddd;"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
//add the id to the achnor tag if you are keeping the origial my orders page and create a second anchor | |
//id="ordernavbtn" | |
//id="searchnavbtn" | |
//duplicate the my orders page and rename it to some name or just replace the entries (I wanted both) | |
{% endcomment %} | |
{% comment %} | |
//add the following below your 'flits-page-heading' div | |
{% endcomment %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
Source: https://gist.github.com/carolineschnapp/9122054 | |
If you are not on a collection page, do define which collection to use in the order form. | |
Use the following assign statement, replace 'your-collection-handle-here' with your collection handle. | |
{% assign collection = collections.your-collection-handle-here %} | |
Use the assign statement outside of this comment block at the top of your template. | |
Big thanks to this post for pointing me in the right direction: https://community.shopify.com/c/Shopify-Design/Order-Form-and-Line-Item-Properties/m-p/388892 | |
{% endcomment %} |