Display SKU
How can I display the SKU (Product #) on the product_detail Page as well as the Cart Page?
How can I display the SKU (Product #) on the product_detail Page as well as the Cart Page?
in webassist/plugins/catelog/detail.php, change:
<span id="WADAPageTitle"><?php echo str_replace("|","<br />",$row_WADAProducts["ProductName"]); ?></span>
to:
<span id="WADAPageTitle"><?php echo str_replace("|","<br />",$row_WADAProducts["ProductName"]); ?><br />SKU: <?php echo $row_WADAProducts['ProductSKU']; ?></span>
in webassist/plugins/shopping_cart/change_option.js, change:
document.getElementById("WADAPageTitle").innerHTML = getFromRSDump(theRet,"ProductName");
to:
document.getElementById("WADAPageTitle").innerHTML = getFromRSDump(theRet,"ProductName")+'<br />SKU: '+getFromRSDump(theRet,"ProductSKU");
in webassist/plugins/shopping_cart/cart_editable.php, change:
<td class="name"><div><?php echo $WA_Store_Cart->DisplayInfo("Name"); ?></div></td>
to:
<td class="name"><div><?php echo $WA_Store_Cart->DisplayInfo("Name"); ?><br />SKU: <?php echo $WA_Store_Cart->DisplayInfo("SKU"); ?></div></td>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.