Support » Plugin: WooCommerce » How fill attribute value without using the module?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Where can I find a list of all the $keys for woo please?

    http://docs.woothemes.com/wc-apidocs/package-WooCommerce.html This looks like an interesting resource, simply want to create the “additional info” tab with it’s field and values from the first editor box (post template itself).

    Tried pasting

    div class="woocommerce-tabs">
    		<ul class="tabs">
    <li class="additional_information_tab">
    					<a href="#tab-additional_information">Additional Information</a>
    				</li>
    <div class="panel entry-content" id="tab-additional_information">
    
    <h2>Additional Information</h2>
    
    <table class="shop_attributes">
    
    		<tr class="">
    			<th>Color</th>
    			<td><p>blue, orange</p>
    </td>
    		</tr>
    
    		<tr class="alt">
    			<th>Brand</th>
    			<td><p>apple, windows</p>
    </td>
    		</tr>
    
    </table>			</div>

    Which created nested tabs and brought the attribute table to the description table and shifted the footer to the sidebar.

    Pasting just

    <div class="panel entry-content" id="tab-additional_information">
    
    <h2>Additional Information</h2>
    
    <table class="shop_attributes">
    
    		<tr class="">
    			<th>Color</th>
    			<td><p>blue, orange</p>
    </td>
    		</tr>
    
    		<tr class="alt">
    			<th>Brand</th>
    			<td><p>apple, windows</p>
    </td>
    		</tr>
    
    </table>			</div>

    creates the table in the view editor but nothing shows on the post. Even so this method doesn’t actually create the attributes value just lists the visual on the post, I would like to create it with code.

    What does the source below mean?
    “woocommerce_get_template : Get other templates (e.g. product attributes) passing attributes and including the file. ” http://docs.woothemes.com/wc-apidocs/package-WooCommerce.Functions.html

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How fill attribute value without using the module?’ is closed to new replies.