Support » Plugin: Attachments » Attachments not working for Products in WP-Ecommerce

  • Resolved lord_dev

    (@lord_dev)


    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/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Jonathan Christopher

    (@jchristopher)

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

    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.

    Plugin Author Jonathan Christopher

    (@jchristopher)

    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.

    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!

    Hey jchristopher,

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

    Thanks in advance.

    Plugin Author Jonathan Christopher

    (@jchristopher)

    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.

    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/

    Plugin Author Jonathan Christopher

    (@jchristopher)

    This has been fixed in version 1.6.1 available now.

    Having the same problem within the Edit Products area of the WP e-Commerce plugin.

    Is there something I’ve missed?

    Plugin Author Jonathan Christopher

    (@jchristopher)

    Which versions of WP, Attachments?

    WordPress Version 3.5

    Attachments Version 3.0.3

    Thanks Jon!

    Plugin Author Jonathan Christopher

    (@jchristopher)

    Interesting issue now fixed in 3.0.4. The problem came up because the author of that plugin is using a dash in the CPT name powering products. Under the hood WP converts that to an underscore so if you we’re using the dashed version, the CPT names didn’t match by the time everything ran. I implemented a fix for dashes so you should be good to go as of 3.0.4!

    Plugin Author Jonathan Christopher

    (@jchristopher)

    I’ve actually reversed this change in 3.0.5 sine you can in fact use dashes in CPT names. I’ll check the database to see what WP e-Commerce is using.

    Plugin Author Jonathan Christopher

    (@jchristopher)

    The CPT name is wpsc-product so I must have hit a fluke somewhere, sorry about that. Is Attachments 3.0.5 working for you?

    When on the Edit Product page, I’m still not seeing the Attachments section on the page.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Attachments not working for Products in WP-Ecommerce’ is closed to new replies.