Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • I can confirm I have just got the same issue. I just created my first listing item, and received the error. The error was because Ebay throws a warning unless 3 images for listings in the category were uploaded.

    However, the listing does not create an Ebay gallery of images, only creating HTML links to the images in the product description, which is useless for a locally hosted site. Should the listing creation create an Ebay image gallery and upload all the images?

    I have the same problem. After install, I set to auto watermark, set the sizes, but nothing. I have to manually select them in the media library, which kinda defeats the purpose.

    I see this error too, and it’s driving me insane, but for some reason I can’t find a solution. It happens on page loads by Internet Explorer, but not Firefox. I can confirm the solution of adding an index.php file works, but it feels dirty!

    … disable adblocking software πŸ˜‰

    It has something to do with all the display:none’s that’s everywhere in the output.

    OK, working through the code. So much for the plugin being “lightweight”. Even if you choose “after content”, you get the button code after AND before the content. Meaning you have a load of extra markup.

    This is.. bad.

    Icons are not displaying for me neither. Judging by this thread, the plugin is broken. Trying to make sense of th ecode, I see empty functions, and lots of files being included left, right and center which isn’t very performant.

    I think this plugin is abandoned. Not a shame as it’s awful and buggy!

    Leaving the recepient box blank seems to suggest that it will be sent to the default email address – is this correct?

    I’m not receiving an admin email when paying with cheque neither, but the customer receives one. I haven’t yet tested with paypal.

    Thread Starter billyboy55

    (@billyboy55)

    Fixed it for you. it’s in the -af file. I’ve also tidied up the function for you, as well as the min and step functions. And try not to use : endif instead of { } as it’s more to type, and less readable. Also there’s a typo in the step function, whatevevr which i’ve fixed for you.

    if ( !function_exists('wcpgsk_qtyselector_max') )
    {
    	function wcpgsk_qtyselector_max( $whatever, $product = null )
    	{
    		if ( isset( $product ) && is_object( $product ) )
    		{
    			global $wcpgsk_session;
    			$options = get_option( 'wcpgsk_settings' );
    			if ( $product->is_sold_individually() ){
    				$maxqty = 1;
    			}
    			else
    			{
    				$maxqty = isset($options['cart']['maxqty_' . $product->product_type]) && $options['cart']['maxqty_' . $product->product_type] != 0 ? $options['cart']['maxqty_' . $product->product_type] : '';
    				if ( isset($options['cart']['minmaxstepproduct']) && $options['cart']['minmaxstepproduct'] == 1 )
    				{
    					$product_id = $product->post->ID;
    					$maxval = get_post_meta($product_id, '_wcpgsk_maxqty', true);
    					if ( isset($maxval) && $maxval > 0 )
    					{
    						$maxqty = $maxval;
    					}
    				}
    				if ($maxqty == '' && isset($wcpgsk_session->qtyargs['max_value']) )
    				{
    					$maxqty = $wcpgsk_session->qtyargs['max_value'];
    				}
    			}
    		}
    		else
    		{
    			$maxqty = $whatever;
    		}
    
    		if (empty($maxqty) && $whatever != '')
    		{
    			$maxqty = $whatever;
    		}
    
    		return $maxqty;
    	}
    }
    
    if ( !function_exists('wcpgsk_qtyselector_min') ) {
    	function wcpgsk_qtyselector_min( $whatever, $product = null ) {
    		if ( isset( $product ) && is_object( $product ) ) :
    			global $wcpgsk_session;
    			$options = get_option( 'wcpgsk_settings' );
    			if ( $product->is_sold_individually() ) :
    				$minqty = 1;
    			else :
    				$minqty = isset($options['cart']['minqty_' . $product->product_type]) && $options['cart']['minqty_' . $product->product_type] != 0 ? $options['cart']['minqty_' . $product->product_type] : 0;
    				if ( isset($options['cart']['minmaxstepproduct']) && $options['cart']['minmaxstepproduct'] == 1 ) :
    					$product_id = $product->post->ID;
    					$minval = get_post_meta($product_id, '_wcpgsk_minqty', true);
    					if ( isset($minval) && $minval > 0 ) :
    						$minqty = $minval;
    					endif;
    				endif;
    				if ($minqty == '' && isset($wcpgsk_session->qtyargs['min_value']) ) {
    					$minqty = $wcpgsk_session->qtyargs['min_value'];
    				}
    			endif;
    		else :
    			$minqty = $whatever;
    		endif;
    
    		if (empty($minqty) && $whatever != '')
    		{
    			$minqty = $whatever;
    		}
    
    		return $minqty;
    	}
    }
    
    if ( !function_exists('wcpgsk_quantity_input_step') ) {
    	function wcpgsk_quantity_input_step( $whatever, $product = null ) {
    		if ( isset( $product ) && is_object( $product ) ) :
    			global $wcpgsk_session;
    			$options = get_option( 'wcpgsk_settings' );
    			if ( $product->is_sold_individually() ) :
    				$stepqty = 1;
    			else :
    				$stepqty = isset($options['cart']['stepqty_' . $product->product_type]) && $options['cart']['stepqty_' . $product->product_type] != 0 ? $options['cart']['stepqty_' . $product->product_type] : 1;
    				if ( isset($options['cart']['minmaxstepproduct']) && $options['cart']['minmaxstepproduct'] == 1 ) :
    					$product_id = $product->post->ID;
    					$stepval = get_post_meta($product_id, '_wcpgsk_stepqty', true);
    					if ( isset($stepval) && $stepval > 0 ) :
    						$stepqty = $stepval;
    					endif;
    				endif;
    			endif;
    		else :
    			$stepqty = $whatever;
    		endif;
    
    		if (empty($stepqty) && $whatever != '')
    		{
    			$stepqty = $whatever;
    		}
    
    		return $stepqty;
    	}
    }

    `

    Thread Starter billyboy55

    (@billyboy55)

    I believe the problem is located in wcpgsk-fa.php which rewrites the quantity input

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