Exemplo n.º 1
0
						</div>
					<?php 
    }
    ?>

					<?php 
    do_action('wpsc_product_addon_after_descr', wpsc_the_product_id());
    ?>
				
					<?php 
    /** the custom meta HTML and loop */
    ?>
					<div class="custom_meta">
						<?php 
    while (wpsc_have_custom_meta()) {
        wpsc_the_custom_meta();
        if (stripos(wpsc_custom_meta_name(), 'g:') !== FALSE) {
            continue;
        }
        ?>
							<strong><?php 
        echo wpsc_custom_meta_name();
        ?>
: </strong><?php 
        echo wpsc_custom_meta_value();
        ?>
<br />
						<?php 
    }
    ?>
					</div>
							}

            	if( function_exists('wpsc_addl_desc_show') ) {
            		echo wpsc_addl_desc_show( $addl_descriptions );
            	} else {
								echo stripslashes( wpautop($the_addl_desc, $br=1));
            	}
            ?>
						</div>
					<?php endif; ?>
				
					<?php do_action('wpsc_product_addon_after_descr', wpsc_the_product_id()); ?>

					<?php /** the custom meta HTML and loop */ ?>
					<div class="custom_meta">
						<?php while (wpsc_have_custom_meta()) : wpsc_the_custom_meta(); 	
								if (stripos(wpsc_custom_meta_name(),'g:') !== FALSE){
									continue;
								}
							?>
							<strong><?php echo wpsc_custom_meta_name(); ?>: </strong><?php echo wpsc_custom_meta_value(); ?><br />
						<?php endwhile; ?>
					</div>
					<?php /** the custom meta HTML and loop ends here */?>
					
					
					<form class='product_form' enctype="multipart/form-data" action="<?php echo wpsc_this_page_url(); ?>" method="post" name="1" id="product_<?php echo wpsc_the_product_id(); ?>">
					<?php if(wpsc_product_has_personal_text()) : ?>
						<div class='custom_text'>
							<h4><?php echo __('Personalize your product', 'wpsc'); ?></h4>
							<?php echo __('Complete this form to include a personalized message with your purchase.', 'wpsc'); ?><br />