Home Forums WC Vendors Pro Support Showing Attributes on simple product page (Not variations)

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66084
    Yasa
    Participant

    Hi,
    On a simple product, I would like to add Attributes as dropbox is that possible?

    I don’t want to enable variations, cause it is breaking my payment platform. Variable items shows same order# and my payment platform tracks it according to the order# so payment platform can not decide when I enable variable product and purchase 2 different variables of same product.

    So instead I just would like to add Attributes dropdown to the product page so users can select colors or whatever Attributes vendor set.

    #66141
    Anna
    Member

    @canyasa
    Yasa,
    You can use the attributes WITHOUT it being a variable product, though. Are you not able to do so? A simple product can have attributes added..

    I have actually worked several times to bring the Attributes into a “normal” drop-down box on the page.. however, since it also involves js, the attributes do not work well when removed from the formatting and wrapper as is.
    I also asked Jamie at one time and he basically responded with.. heh.. no
    So.. While it may be possible, I do not know how to move these into the product form in a different selector than how they appear now.

    You can move the attributes out of the TAB if you wish.. so that the drop-down appears in the general tab and not in the Attributes tab.
    You’d have to modify the product-edit.php template, moving the attributes functions

    <?php WCVendors_Pro_Product_Form::product_attributes( $object_id ); ?>
    
    				<?php do_action( 'wcv_product_options_attributes_product_data' ); ?>
    

    Elsewhere, such as directly above the
    and then the attributes will show up on the general tab instead of in their own tab. You’d aso have to comment out or remove the Attributes tab code form the same template:

    <!-- Attributes -->
    
    			<?php do_action( 'wcv_before_attributes_tab', $object_id ); ?>
    
    			<div class="wcv_product_attributes tabs-content" id="attributes"> 
    
    				
    
    			</div>
    			
    			<?php do_action( 'wcv_after_attributes_tab', $object_id ); ?>
    

    https://www.wcvendors.com/kb/changing-vendor-templates/

    #66183
    Yasa
    Participant

    Thank you for the info Anna,
    I’ll try to fix my integration with variable products if I can not I’ll try to make your solution.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.