WordPress.org

Plugin Directory

Changeset 332311


Ignore:
Timestamp:
01/14/11 04:06:03 (3 years ago)
Author:
mychelle
Message:

removed error messages for add product plug minor text and style change to checkout page login stuff

Location:
wp-e-commerce/branches/3.8-development
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-e-commerce/branches/3.8-development/wpsc-admin/includes/product-functions.php

    r332034 r332311  
    213213    do_action('wpsc_edit_product', $product_id); 
    214214    wpsc_ping(); 
    215     } else { 
    216         $_SESSION['product_error_messages'] = array();   
    217         if($post_data['title'] == ''){ 
    218             $_SESSION['product_error_messages'][] = __('<strong>ERROR</strong>: Please enter a Product name.<br />'); 
    219         } 
    220         if(!isset($post_data['category'])){ 
    221             $_SESSION['product_error_messages'][] = __('<strong>ERROR</strong>: Please enter a Product Category.<br />'); 
    222         } 
    223         $_SESSION['wpsc_failed_product_post_data'] = $post_data; 
    224215    } 
    225216    return $product_id; 
  • wp-e-commerce/branches/3.8-development/wpsc-theme/wpsc-default.css

    r331983 r332311  
    12341234    width:100px; 
    12351235    display: inline-table; 
     1236    margin-bottom: 10px; 
    12361237} 
    12371238 
     
    12511252    border-left-width: 2px; 
    12521253    padding-left: 20px; 
     1254} 
     1255 
     1256.wpsc_signup_text { 
     1257    padding-top: 15px; 
     1258    font-size: 12px; 
     1259 
    12531260} 
    12541261 
  • wp-e-commerce/branches/3.8-development/wpsc-theme/wpsc-shopping_cart_page.php

    r331965 r332311  
    218218 
    219219    <?php if ( wpsc_show_user_login_form() && !is_user_logged_in() ): ?> 
    220             <p><?php _e('In order to buy from us, you\'ll need an account. Joining is free and easy. All you need is a username, password and valid email address.');?></p> 
     220            <p><?php _e('You must sign in or register with us to continue with your purchase');?></p> 
    221221            <div class="wpsc_registration_form"> 
    222                 <h2><?php _e( 'Sign in' ); ?></h2> 
     222                 
    223223                <fieldset class='wpsc_registration_form'> 
     224                    <h2><?php _e( 'Sign in' ); ?></h2> 
     225                     
    224226                    <?php 
    225227                    $args = array( 'remember' => false ); 
    226228                    wp_login_form( $args ); 
    227229                    ?> 
     230                    <div class="wpsc_signup_text"><?php _e('If you have bought from us before please sign in here to purchase');?></div> 
    228231                </fieldset> 
    229232            </div> 
     
    242245 
    243246        <div class="wpsc_registration_form"> 
    244             <h2><?php _e('Join up now');?></h2> 
     247             
    245248            <fieldset class='wpsc_registration_form wpsc_right_registration'> 
    246                  
     249                <h2><?php _e('Join up now');?></h2> 
     250           
    247251                <label><?php _e('Username'); ?>:</label> 
    248252                <input type="text" name="log" id="log" value="" size="20"/><br/> 
     
    254258                <input type="text" name="user_email" id="user_email" value="<?php echo attribute_escape(stripslashes($user_email)); ?>" size="20" /><br /> 
    255259                 
     260                <div class="wpsc_signup_text"><?php _e('Signing up is free and easy! please fill out your details your registration will happen automatically as you checkout. Don\'t forget to use your details to login with next time!');?></div> 
    256261            </fieldset> 
     262             
    257263        </div> 
    258264        <div class="clear"></div> 
Note: See TracChangeset for help on using the changeset viewer.