Tom Muck

Alpha Dog Blues Band
Home page
All articles
All Extensions | Extension News | Extension FAQs | Customer Login
Books authored or co-authored by Tom Muck
Extensions, books, and other products | Customer Login
Your current cart contents
Tom-Muck.com Blog | CMXTraneous Blog | Flash Remoting Blog
About the site

Display Price Results

Displaying the Price in the Results Page

Basically you have to include the CWFunPriceList.php file somewhere on the results page or CWIncResults.php file, and then call the getPriceList() function within the results display loop. Vvarying skus can have different options and different prices, but the entire price list will be shown. If you have one sku per product, you will only see one price per product. The include should be placed somewhere at the top of the page:

include("CWLibrary/CWFunPriceList.php");

then in the results loop, probably in a table cell:

<?php
echo(getPriceList($row_rsCWResults["product_ID"],
$cartweaver->settings->allowBackOrders,
$cartweaver->db));
?>

Back to Cartweaver PHP FAQ, code changes, and samples

Pay me securely with your Visa, MasterCard, Discover, or American Express card through PayPal!
Pay me securely with your Visa, MasterCard, Discover, or American Express card through PayPal!
About | Privacy Policy | Contact | License Agreement | ©2002-2025 Tom Muck | Dreamweaver Extensions