Home Forums Makery Need help about vendors attributes

Need help about vendors attributes

  • tominator80

    Hello
    i have purchased this theme and working on it. but i am facing one issue i’m getting options for sellers to add attributes for product. but i want default attributes with variations by default instead of adding new. i tried on it but didn’t succeed. i don’t want to allow add attributes to sellers i just want to show my fixed attributes this is only one which i added into admin. please tell me about this how can i do this.
    Thank you

    ihor Staff

    Please sign in or register to view replies from the support staff.

    tominator80

    can you please share code so i can use single attribute for every seller i have tried but didnt solve the problem.

    ihor Staff

    Please sign in or register to view replies from the support staff.

    tominator80

    can we make a option on single product page where we can add multiple variations using check box instead or drop down if we cann’t do this then can we able to select multiple variations by dropdown

    tominator80

    another issue i found which is related to attributes. when im adding my first product by default attributes not coming for variations which is i added statically as you said above please have a look here
    http://instatout.com
    username: omii
    password: omii@123
    please check here i disabled more then adding more item we want to just add one item by each seller.please have a look and tell me
    once product added by you on editing this attributes apear.
    please resolve my issue if you need any ftp or admin i can help

    ihor Staff

    Please sign in or register to view replies from the support staff.

    tominator80

    i added this code but no result

    tominator80

    it didnt fix attribute issue

    tominator80

    one more bug i added custom template but not appear in admin page template dropdown

    ihor Staff

    Please sign in or register to view replies from the support staff.

    tominator80

    1. http://instatout.com
    username: omii
    password: omii@123
    can you test issue which i asked for attributes here one more thing i added this code
    self::updateProduct($product, array());
    as you said im pasting code of makery/framework/classes/themex.woo.php file:

    these are the code

    public static function addProduct() {
    $user=get_current_user_id();
    $args=array(
    ‘post_type’ => ‘product’,
    ‘post_status’ => ‘draft’,
    ‘post_author’ => $user,
    ‘post_title’ => __(‘Untitled’, ‘makery’),
    );

    $product=wp_insert_post($args);
    if(!empty($product)) {
    ThemexUser::countMembership($user);
    self::updateProduct($product, array());

    return $product;
    }

    return false;
    }

    tominator80

    2. this is the code of my custom template i have build more then 500 wordpress sites so basically i tried all methods of adding template may be due to theme coding
    <?php
    /*
    Template Name: Instagram Send Post
    */
    ?>
    <?php get_header(); ?>
    <div class=”column eightcol”>

    <?php if($_GET[‘order’]){
    $order_id=$_GET[‘id’];

    }?>
    <div class=”element-title indented”>
    <h1>Send Instagram Post for Order ID : <?php echo $order_id?></h1>
    </div>

    <form action=”” method=”POST” class=”site-form”>
    <table class=”profile-fields”>
    <tbody>
    <tr>
    <th>Instagram Image</th>
    <td><div class=”field-wrap”> <input type=”file” name=”instagram_image” ></div></td>
    </tr>
    <tr>
    <th>Post Caption</th>
    <td><div class=”field-wrap”> <input type=”text” name=”caption”></div></td>
    </tr>
    <tr>
    <th>Hash Tag </th>
    <td><div class=”field-wrap”> <input type=”text” name=”hash_tag” > </div></td>
    </tr>
    <tr>
    <th>Link </th>
    <td><div class=”field-wrap”> <input type=”text” name=”link” > </div></td>
    </tr>
    <tr>
    <th>Desired ShoutOut post date </th>
    <td><div class=”field-wrap”> <input type=”text” name=”date” > </div></td>
    </tr>
    <tr>
    <th>Note to the Influencer </th>
    <td><div class=”field-wrap”> <textarea name=”note”></textarea> </div></td>
    </tr>
    <tr>
    <td><div class=”field-wrap”> <input type=”submit” value=”Send” class=”element-button element-submit primary”></div></td>
    <td><div class=”field-wrap”> <input type=”submit” value=”Perview” class=”element-button element-submit primary”> </div></td>
    </tr>

    </form>
    </div>
    <?php get_footer(); ?>

    tominator80

    please revert me asap

    tominator80

    also how can i change word Variation#1 ,Variation#2 and so on on added Variations. i try to changed directly but its create problem in edit variations so possible ajax or js issue

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.