Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Suggestion for enhancements

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Suggestion for enhancements

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 1 month ago by einfohound.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 2, 2012 at 2:59 pm #5995
    einfohound
    Participant

    I would like to suggest a couple enhancements for future versions…

    1.) A new “style” for product displays. You could call it “Simple List” or something. The site I am developing will have a lot of digital download files (hundreds) in multiple categories. I would like a way to produce a list of products where each item is displayed in as compact a format as possible, so that I can display quite a few on one page.

    2.) Related to above…Add an optional parameter to display/not display the image of the item. In my case, I will not have images for all these files, so I don’t want anything to display. I modified the code to not display the image for now.

    3.) Add an option to not display a product on a list if the available qty is zero. In my case, users will be able to download a product 50 times. After that, it will not be available to anyone ever again. I will eventually end up with hundreds of products that have zero available qty. I do not want these clogging up the list of products. I have fixed this for my needs (in style 2) by adding the following code in eStore_misc_functions.php.


    function show_product_fancy_style2($id,$button_type=1,$show_price=1,$restriction=”)

    {

    global $wpdb;

    $products_table_name = WP_ESTORE_PRODUCTS_TABLE_NAME;

    $ret_product = $wpdb->get_row(“SELECT * FROM $products_table_name WHERE id = ‘$id'”, OBJECT);

    // Added this code

    if (empty($ret_product->available_copies))

    {

    return;

    }

    // End of added code


    April 3, 2012 at 3:55 am #43651
    admin
    Keymaster

    Take a look at fancy display 9 which is a simple display template. You can then use it with the category shortcode to display a list of products:

    http://www.tipsandtricks-hq.com/ecommerce/stylish-product-display-options-for-wp-estore-829

    April 3, 2012 at 1:07 pm #43652
    einfohound
    Participant

    Thanks for your suggestion. I was thinking Style9 was for MP3s. This is pretty much what I wanted.

    However, I still had to add the code (to the style 9 format now) to not show any items with zero available qty. I think this would be a good option to add in the future.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ