Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • ghanshyam saini

    (@ghanshyam1intutorials)

    $pa_koostis_value = get_post_meta($parent_product_id, ‘_product_attributes’, true);
    foreach($pa_koostis_value as &$value){
    if($value[‘is_variation’] === 1){
    $value[‘is_variation’] = 0;
    }
    }
    update_post_meta( $parent_product_id, ‘_product_attributes’, json_encode($pa_koostis_value) );

    for simple product I don’t know why woo commerce set it to is_variation 1 but some attributes are required setthen we need to set it is_variation = “0”after that it’s working fine

    https://user-images.githubusercontent.com/17923790/248173212-3bf2f6ce-814d-4728-8d57-c3c190e8e14b.png

    ghanshyam saini

    (@ghanshyam1intutorials)

    f ( ! defined( ‘ABSPATH’ ) ) {
    exit; // Exit if accessed directly
    }

    /**
    * Keep the interface_exists check here for Postman Gmail API Extension users!
    *
    * @author jasonhendriks
    */
    if (! interface_exists ( ‘PostmanTransport’ )) {
    interface PostmanTransport {
    public function isServiceProviderGoogle($hostname);
    public function isServiceProviderMicrosoft($hostname);
    public function isServiceProviderYahoo($hostname);
    // @deprecated
    public function isOAuthUsed($authType);
    public function isTranscriptSupported();
    public function getSlug();
    public function getName();
    // @deprecated
    public function createPostmanMailAuthenticator(PostmanOptions $options, PostmanOAuthToken $authToken);
    public function createZendMailTransport($fakeHostname, $fakeConfig);
    public function isConfigured(PostmanOptionsInterface $options, PostmanOAuthToken $token);
    public function isReady(PostmanOptionsInterface $options, PostmanOAuthToken $token);
    // @deprecated
    public function getMisconfigurationMessage(PostmanConfigTextHelper $scribe, PostmanOptionsInterface $options, PostmanOAuthToken $token);
    // @deprecated
    public function getConfigurationRecommendation($hostData);
    // @deprecated
    public function getHostsToTest($hostname);

    /**
    * Get Socket’s logo
    *
    * @since 2.1
    * @version 1.0
    */
    //public function getLogoURL();
    }
    }

    in there i have just comment this method
    /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanModuleTransport.php

    line no 39

    //public function getLogoURL();

    i have see that my problem is resolved

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