Located in: wpsc-grid_view.php, wpsc-list_view.php, wpsc-products_page.php, wpsc-Single_product.php

Functions that call this hook: none this is the product page template files
Arguments Accepted: none
Version Introduced: 3.8

Description: This action is triggered right after the product form has been created.

Similar Hooks: wpsc_product_form_fields_end – this is triggered just before the form closes.

Code in context:
[php firstline=”121″ highlight=”127″]
<?php if(wpsc_product_external_link(wpsc_the_product_id()) != ”) : ?>
<?php $action = wpsc_product_external_link(wpsc_the_product_id()); ?>
<?php else: ?>
<?php $action = htmlentities(wpsc_this_page_url(), ENT_QUOTES, ‘UTF-8’ ); ?>
<?php endif; ?>
<form class="product_form" enctype="multipart/form-data" action="<?php echo $action; ?>" method="post" name="product_<?php echo wpsc_the_product_id(); ?>" id="product_<?php echo wpsc_the_product_id(); ?>" >
<?php do_action ( ‘wpsc_product_form_fields_begin’ ); ?>
<?php /** the variation group HTML and loop */?>
<?php if (wpsc_have_variation_groups()) { ?>
<fieldset><legend><?php _e(‘Product Options’, ‘wpsc’); ?></legend>
<div class="wpsc_variation_forms">