Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <<div class="wpsc_buy_button_container" href="#main-content">
- <?php if(wpsc_product_external_link(wpsc_the_product_id()) != '') : ?>
- <?php $action = wpsc_product_external_link( wpsc_the_product_id() ); ?>
- <input class="wpsc_buy_button" type="submit" value="<?php echo wpsc_product_external_link_text( wpsc_the_product_id(), __( 'Buy Now', 'tokokoo' ) ); ?>" onclick="return gotoexternallink('<?php echo $action; ?>', '<?php echo wpsc_product_external_link_target( wpsc_the_product_id() ); ?>')">
- <?php else: ?>
- <input type="submit" value="<?php _e('Add To Cart', 'tokokoo'); ?>" name="Buy" class="wpsc_buy_button" id="product_<?php echo wpsc_the_product_id(); ?>_submit_button" />
- <?php endif; ?>
- <?php //hack begin
- $itunesLinkURL = get_product_meta( wpsc_the_product_id() , 'itunes_link_custom_field', true );
- ?>
- <a href="<?php echo $itunesLinkURL; ?>" title="Go To Itunes" class="gocheckout">Check us out at Itunes</a>
- <?php //hack end ?>
- <div class="wpsc_loading_animation">
- <img alt="Loading" src="resources/images/indicator.gif" />
- <?php _e('Updating cart...', 'tokokoo'); ?>
- </div><!--close wpsc_loading_animation-->
- </div><!--close wpsc_buy_button_container-->
Add Comment
Please, Sign In to add comment