Announcement

Collapse
No announcement yet.

Product Part code in Order data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Product Part code in Order data

    Is there any way to get the product part code instead of the base product code into the order?

    Example:
    I have product with attributes, the variants are created manually using the variant options which also limits what is available (handy with swatches and kit type scenarios). My prod code is Tshirt, attributes are size, color, sleeve.

    In a normal order, the order data is:
    Tshirt
    --large
    --blue
    --sleeveless

    And I know what has been ordered. What I need in the order is the product code from the part that I manually defined:

    Tshirt_large_blue_sleeveless

    The big picture reason for this, solves some order data export issue. And also, the current store I working with has had product parts defined with other products (not attributes) when creating the variants.

    Thanks,

    Scott
    Need to offer Shipping Insurance?
    Interactive Design Solutions https://www.myids.net
    MivaMerchant Business Partner | Certified MivaMerchant Web Developer
    Competitive Rates, Custom Modules and Integrations, Store Integration
    AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
    My T-shirt Collection is mostly MivaCon T-shirts!!

    #2
    Re: Product Part code in Order data

    If you have a kit setup, there is a foreach loop that allows you to display the parts of the kit:


    Code:
    <mvt:foreach iterator="part" array="group:parts">
    	<tr>
    		<td class="code">Part: &mvt:part:code;</td>
    		<td class="product">&mvt:part:name;</td>
    		<td class="each">&mvt:part:quantity;</td>
    		<td class="total">&mvt:part:total_quantity;</td>
    	</tr>
    </mvt:foreach>
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment

    Working...
    X