Skip to content

Instantly share code, notes, and snippets.

@tvpmb
Created December 15, 2014 18:44
Show Gist options
  • Save tvpmb/b628314e8542d8844826 to your computer and use it in GitHub Desktop.
Save tvpmb/b628314e8542d8844826 to your computer and use it in GitHub Desktop.
3D Cart - Part 4
<!--START: items-->
<div class="row">
<div class="invoice-id">[id]</div>
<div class="invoice-items">[itemname]</div>
<div class="invoice-price">[unitprice]</div>
<div class="invoice-qty">[numitems]</div>
<div class="invoice-total">[subtotal]</div>
<div class="clear"></div>
</div>
<script>
$Cnt++;
$SKUArr[$Cnt]="[id]";
$PriceArr[$Cnt]="[unitprice]";
$PriceArr[$Cnt] = $PriceArr[$Cnt].replace("$","");
$QtyArr[$Cnt]= [numitems];
</script>
<!--END: items-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment