• Dear Developers and community,

    I’m sorry for my English but I really need your help!
    I need to show the origin country of our organic products of the store on our mails and invoices. I have added this to the product details in store, but need to show it in the buyer mails and invoices too. I can only show prices and amounts in the tables provided. What do I need to do?

    Annaika

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi Annaika,

    Could you please let me know how did you add origin country info to your products? Did you use “custom fields”, or just added it to product description or something else?

    Best regards,
    Tom

    Thread Starter annaika

    (@annaika)

    Hello!

    I have a list of countries to choose on edit product site under product data, attributes

    Thank you!
    Annaika

    Thread Starter annaika

    (@annaika)

    Hello!

    Do you understand what I mean or do you need any other informations?

    Thank you
    Annaika

    Hi Annaika,

    Sorry for the delay. Please try adding product_attribute=country column to [wcj_order_items_table] shortcode, something like this:

    [wcj_order_items_table table_class="pdf_invoice_items_table"
    columns="item_name|product_attribute=country|item_quantity|line_total_tax_excl" 
    columns_titles="Product|Country|Qty|Total" 
    columns_styles="width:50%;|width:25%;|width:10%;|width:15%;text-align:right;"]

    Please let me know if you need any help.

    Best regards,
    Tom

    Thread Starter annaika

    (@annaika)

    Hello Tom!

    Thank you for your help!
    This seems to work, just products with different kinds (“variations”) are not showing the country. Do I need to change there something?

    Annaika

    Thread Starter annaika

    (@annaika)

    Hello Tom!

    Just wanted to ask if you may have a solution für the variations products not showing the attributes with product_attribute=country?

    Thank you!

    Algoritmika

    (@algoritmika)

    Hi Annaika,

    Again sorry for the delay. If country attribute is used to create variations, please try adding add_variation_info_to_item_name=yes to [wcj_order_items_table] shortcode, something like this:

    [wcj_order_items_table table_class="pdf_invoice_items_table"
     add_variation_info_to_item_name="yes"
     columns="item_name|product_attribute=country|item_quantity|line_total_tax_excl" 
     columns_titles="Product|Country|Qty|Total" 
     columns_styles="width:50%;|width:25%;|width:10%;|width:15%;text-align:right;"]

    Again, please let me know if you need any help.

    Best regards,
    Tom

    Thread Starter annaika

    (@annaika)

    Hello Tom!

    No, this attribute is not used for the variations, it is another one.
    It generally does not show the attribute for products with variations.

    Thank you!

    Algoritmika

    (@algoritmika)

    Hi Annaika,

    I think I found the problem. If attribute is not used for variation, then it’s really becoming parent product’s attribute (and not variation’s itself). Anyway, I’ve made some changes to the plugin. Please download the development version here – https://booster.io/dev/. You will need to uninstall the old plugin version first (don’t worry your saved settings won’t disappear). Now it should display attributes for variations also. Please let me know if it’s working.

    And if you like Booster, please leave us a rating.

    Best regards,
    Tom

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

The topic ‘Product fields’ is closed to new replies.