Forums

Attachments
Attachments not working for Products in WP-Ecommerce (9 posts)

  1. lord_dev
    Member
    Posted 4 months ago #

    I am using the WP Ecommerce plugin and the Attachments plugin. I want to be able to attach files to the products in WP Ecommerce. This should be do-able as the 'Attachments' tab appears in the admin. However, once a file has been uploaded I cannot see the 'Attach' button.

    Anyone else have this problem/knows of a fix?

    http://wordpress.org/extend/plugins/attachments/

  2. Jonathan Christopher
    Member
    Posted 4 months ago #

    Have you enabled support on Products pages by checking the box next to "Products" when viewing Settings > Attachments in the WordPress admin?

  3. lord_dev
    Member
    Posted 4 months ago #

    Yes...

    I can see the Attachments box in the Products admin page and I am able to upload a file. However, once the file is uploaded it does not give me the option to 'Attach' the file to the product. It works and appears for Pages and Posts, but just not for Products.

    I am using Wordpres 3.31, WP Ecommerce 3.8.7.5 and Attachments 1.6

    Thanks in advance.

  4. Jonathan Christopher
    Member
    Posted 4 months ago #

    I see, I've just installed the plugin to see what it's doing and it's conflicting with what Attachments is attempting to do. I will see if it's possible to implement a fix but likely won't be able to take the time to do so very quickly as the WP Ecommerce codebase is quite large.

  5. lord_dev
    Member
    Posted 4 months ago #

    Thanks for your help jchristopher, please let me know if there is anything I can do to help?

    My client has requested this feature and your plugin does the best/only job i've seen. Looking forward to seeing the fix!

  6. lord_dev
    Member
    Posted 4 months ago #

    Hey jchristopher,

    If a fix is not found, do you know which version of WP-Ecommerce will work with this plugin?

    Thanks in advance.

  7. Jonathan Christopher
    Member
    Posted 4 months ago #

    I have not had time to look into WP E-commerce yet and my schedule is quite booked, it will likely take a number of weeks before I'm able to find out how to integrate with the plugin. I'm not sure which version if any it will work with.

  8. lord_dev
    Member
    Posted 4 months ago #

    Hey,

    I would just like to contribute my solution:

    Follow these two tutorials: #1 explains the solution but #2 has the working code!

    1) http://bloke.org/php/wp-ecommerce-product-downloads-checking/

    2) http://automatica.com.au/2011/12/wp-ecommerce-downloads-and-bypassing-the-checkout-process/

  9. Jonathan Christopher
    Member
    Posted 4 months ago #

    This has been fixed in version 1.6.1 available now.

Reply

You must log in to post.

About this Plugin

About this Topic