Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Michele

    (@msustudio)

    That would be ideal if it worked, be we have had several guests try to pay, and payments were blocked. Also, we prefer for all new and old customers to have an account.

    [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/order/v2#error-CITY_REQUIRED

    If we check ““Allow customers to place orders without an account”, this error does not occur and guests can proceed with payment.

    • This reply was modified 2 years, 4 months ago by Michele.

    We have the same issue. There are no account form entry points at checkout when going through an invoice link. There is only the option to pay.

    Creating an account and password automatically for all customers is very unfriendly to the user and will create more issues and a lot of handholding.

    Thread Starter Michele

    (@msustudio)

    Increasing the timeout and removing document.load does the trick, but I also found it loads with 0px at times. Here is the code that I have found to work for me:

    function wgs_gallery_reset () { 
    	if( is_product() ) { ?>
    	<script>
    			(function($){
    			$(document).on('change', '.variations select', function () {
    				setTimeout(function () { 
    					if( $('.wcgs-carousel .slick-list').outerHeight() < 2 ){
    						$('.wcgs-carousel').slick('refresh');
    					}
    				}, 1000);
    			});
    		})(jQuery);
    	</script>
    	<?php  } 
    }
    add_action( 'wp_footer', 'wgs_gallery_reset', 99 );
    Thread Starter Michele

    (@msustudio)

    Thank you, but that seems quite a bit of work for every product. I was hoping you could just assign the product in Attributes Stock > Filter.

    Thread Starter Michele

    (@msustudio)

    You are correct. There was a problem with the host. We had placed a facebook pixel html file at the root of the site for verification. It took down our site, but was still caching the site and was visible to us. Once we removed the facebook html, all was corrected and we were able to connect Wordfence Central.

    • This reply was modified 3 years, 1 month ago by Michele.
    • This reply was modified 3 years, 1 month ago by Michele.

    I am having the same issue. I have disabled all plugins, but I am able to add multiple variants in the cart. Is it possible that it is not working because I am running the latest WordPress (5.6)?

    Thread Starter Michele

    (@msustudio)

    I deactivated all plugins and changed the theme to twentynineteen. Gutenberg Custom Post Types still does not work with the NextGen Gallery.

    I have the same issue. Here’s my code which is not working:

    function my_profile_multipart() {
    echo ‘enctype=”multipart/form-data”‘;
    }
    add_action(‘user_edit_form_tag’, ‘my_profile_multipart’ );

    function my_show_extra_profile_fields( $user ) { ?>

    <h3>Credentials</h3>
    <table class=”form-table”>
    <tr>
    <th><label for=”drivers_license”>Driver’s License</label></th>

    <td>
    ID ) ?>”/>
    <input type=”file” name=”drivers_license” id=”drivers_license” value=”<?php echo esc_attr( get_the_author_meta( ‘drivers_license’, $user->ID ) ); ?>” />
    </td>
    </tr>
    <tr>
    <th><label for=”state_credentials”>State Credentials</label></th>

    <td>
    <input type=”file” name=”state_credentials” id=”state_credentials” value=”<?php echo esc_attr( get_the_author_meta( ‘state_credentials’, $user->ID ) ); ?>” />
    </td>
    </tr>
    </table>

    <?php }
    add_action( ‘personal_options_update’, ‘my_save_extra_profile_fields’ );
    add_action( ‘edit_user_profile_update’, ‘my_save_extra_profile_fields’ );

    function my_save_extra_profile_fields( $user_id ) {

    if ( !current_user_can( ‘edit_user’, $user_id ) )
    return false;

    $uploadUrl = wp_get_upload_dir();
    $drivers_license = $_POST[“drivers_license”];
    $state_credentials = $_POST[“state_credentials”];
    update_usermeta( $user_id, ‘drivers_license’, $uploadUrl[‘url’].’/agents/’.$drivers_license );
    update_usermeta( $user_id, ‘state_credentials’, $uploadUrl[‘url’].’/agents/’.$state_credentials );
    }
    add_action( ‘show_user_profile’, ‘my_show_extra_profile_fields’ );
    add_action( ‘edit_user_profile’, ‘my_show_extra_profile_fields’ );

    • This reply was modified 7 years, 10 months ago by Michele.
    Thread Starter Michele

    (@msustudio)

    Worked like a charm! Thanks that was easy!

Viewing 9 replies - 1 through 9 (of 9 total)