WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Style Email
Not show SKU number (16 posts)

  1. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi,
    in the wpsc-email_content_part-product_row.php template, seems that the SKU number is not working!
    To retrive the SKU, i saw that u are using wpecommerce method:

    wpsc_product_sku($cart_row['prodid'])

    but $cart_row['prodid'] or $cart_row['id'] are not the product post id, that u get in wordpress with get_the_ID().

    Thanks a lot!

    http://wordpress.org/extend/plugins/wp-e-commerce-style-email/

  2. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Matteo,

    The SKU and product ID tags are working for me in my testing environments... Are you able to provide more information about the situation? WP/plugin versions, kinds of products, etc.

    Thanks,

    Jacob

  3. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi Jacob,
    im using the last wordpress and WP e-Commerce Style Email version.
    My product have 2 kind of variation.
    I saw the wpecommerce generated 1 page for each variation and i tried to put the SKU code also in that page, but no solution found!

    Thanks

  4. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    Matteo,

    In my testing, I am able to use the SKU tag from my plugin for variations, but it's a complicated area in terms of WPEC. Can you confirm that this issue occurs only with variations? In other words, do the product ID and SKU tags work correctly for your store with non-variation products?

    Thanks,

    Jacob

  5. tostrye
    Member
    Posted 2 years ago #

    I have no SKU showing in the emails, with no variations. the products do have Table Rate prices.

  6. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    tostrye - just to rule out something simple, can you confirm that SKU's are set for those products, and that they are being shown in the WPEC purchase log?

  7. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi Jacob,
    the issue occours for me also without variations!

    Thanks

  8. Matteo Legittimo
    Member
    Posted 2 years ago #

    In my wpsc-single_product template i get correctly every SKU product like this:

    <?php echo get_post_meta(wpsc_the_product_id(), '_wpsc_sku', true); ?>

  9. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    Matteo,

    Are you able to get product IDs in the email template? For example using this in a product row:

    <?php echo ECSE_purchase_product::get_the_ID() ?>

    Jacob

  10. tostrye
    Member
    Posted 2 years ago #

    Jacob:
    Here is a screenshot of the transaction report email: http://i.imgur.com/TzWI9ah.png

    And the products list in the admin dashboard has the SKU listed.

  11. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    tostrye - thanks for that screenshot. It doesn't show any column header for the SKU either... Where would you expect to see the SKU?

    Would you mind sending me the theme template file for the product rows?

    Thanks,

    Jacob

  12. tostrye
    Member
    Posted 2 years ago #

    I would like to add a column for the SKU. I am using the default theme with grid view LTE. Should I change that?

  13. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    My plugin allows you to completely replace the WPEC email content. Have a try with the theme files provided in my plugin, I believe it's a better purchase receipt than what WPEC provides. SKU column and thumbnail columns are included. Let me know what you think!

    Jacob

  14. tostrye
    Member
    Posted 2 years ago #

  15. tostrye
    Member
    Posted 2 years ago #

    Can you show an example of some code? I don't see how to show the SKU.

    I think this would work though.

  16. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    The plugin's settings page steps you through the process.
    http://wordpress.org/extend/plugins/wp-e-commerce-style-email/screenshots/

    Code samples are located in the plugin's theme folder.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.