Support » Plugin: Cart66 Lite :: WordPress Ecommerce » [Plugin: Cart66 Lite :: WordPress Ecommerce] Insert product into custom post type

  • I’ve created a custom post type “products” that I want to use to control the product posts so as to keep them separate from the blog. However when I go to add them via the lightbox popup box, the lightbox draws but is empty. If I try and add them to a normal “post” type then everything works fine, so the plugin seems to be working fine.

    Are custom types not supported in this way?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same problem here.
    Running WordPress 3.3.2 with cart66lite Version 1.4.9 on both a local and remote install.

    I know this feature does work for cart66 paid version, I’ve used it on a clients site but the lite version does not seem to be working.

    The Pro Version has the same issue. Cart66 needs to address this.

    Okay I have a fix for this issue. Update: Pro version only.

    Cart66 changed the way the pop up box worked to “give” developers more control over when it loads the js that is need to display the pop up boxes content.
    What I find clumsy is that the button that calls the pop up is still there.
    What I find clumsy and irritating is that they felt that they need to do this in the first place.

    Why not add a hook that lets you turn off the pop up if thats what you want.

    This is how you use the new cart66_add_popup_screens filter :

    // using cart66 filter: cart66_add_popup_screens
    // first we need to add the filter
    // because cart66 only applies the filter, it does not add it.
    function my_function(){
      $array = array('products','plugins'); // this is a list of the custom post types
       return $array;

    Hero – thanks a lot.

    @ artparks Sorry if I gave you false hope but after looking at the cart66-lite code this fix will only work for the latest pro version



    I’m not sure if you are having the same problem as I am, but if not maybe you can help. When I insert the cart66 “shortcode” for a picture of an item for sale the html gets added like normal but when I either hit the update button or switch to html view the link disappears

    For cart66-lite in the file Cart66Dialog.php the function add_shortcode_popup has an if statement that checks the variable current_screen->id, add in your custom post type here.

    Plugin Author Lee Blue


    Just wanted to let everyone know we’ve got a new, public knowledge base available including an answer to this question about custom post types.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Cart66 Lite :: WordPress Ecommerce] Insert product into custom post type’ is closed to new replies.