wpsc_product_addon_after_descr

Located in: wpsc-single_product.php

Functions that call this hook: None – it is located in the single product template.
Arguments Accepted: $product_id
Version Introduced: 3.8

Description: The wpsc_product_addon_after_descr action is triggered after the Product description  within the WP e-Commerce Single Product page (single_product.php) theme template.

This hook provides no parameters. You use this hook by having your function echo output to the browser, or by having it perform background tasks. Your functions shouldn’t return, and shouldn’t take any parameters.

Use Case:
[php]<?php
add_action(‘wpsc_product_addon_after_descr’, ‘your_function’);

function your_function() {
$content = ‘<p>This is inserted after the Product description.</p>’;
echo $content;
}
?>
[/php]

Code in context:
[php firstline=”46″ highlight=”57″]
<div class="productcol">
<?php do_action(‘wpsc_product_before_description’, wpsc_the_product_id(), $wp_query->post); ?>
<div class="product_description">
<?php echo wpsc_the_product_description(); ?>
</div><!–close product_description –>
<?php do_action( ‘wpsc_product_addons’, wpsc_the_product_id() ); ?>
<?php if ( wpsc_the_product_additional_description() ) : ?>
<div class="single_additional_description">
<p><?php echo wpsc_the_product_additional_description(); ?></p>
</div><!–close single_additional_description–>
<?php endif; ?>
<?php do_action( ‘wpsc_product_addon_after_descr’, wpsc_the_product_id() ); ?>
<?php
/**
* Custom meta HTML and loop
*/
?>
<?php if (wpsc_have_custom_meta()) : ?>
<div class="custom_meta">

[/php]