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
You are here: Home

markpr

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • November 10, 2013 at 4:51 pm in reply to: eStore – search shortcode not working #58485
    markpr
    Member

    For those of you who need to do this, Go to your wordpress admin panel -> then to plugins -> then to editor -> then choose Extra shortcodes for WP eStore in the drop down box in the top right of the page -> then choose the eStore-extra-shortcodes/eStore-extra-shortcodes.php file.

    In this file you will find the following code:


    function wp_eStore_product_search_handler($args)

    {

    extract(shortcode_atts(array(

    ‘search_category’ => ”,

    ‘category_id’ => ”,

    ), $args));

    $output = “”;

    $output .= ‘‘;

    if(!defined(‘WP_ESTORE_PRODUCT_SEARCH’)){define(‘WP_ESTORE_PRODUCT_SEARCH’,’Product Search’);}

    $output .= ‘<div class=”eStore_product_search_box”>’;

    $output .= ‘<div class=”eStore_product_search_label”>’. WP_ESTORE_PRODUCT_SEARCH. ‘</div>’;

    //$output .= ‘<form method=”post” action=”‘.$_SERVER[“REQUEST_URI”].’http://YOUR-DOMAIN-NAME.com/#eStore_search_anchor”>&#8217;;

    $output .= ‘<form method=”post” action=”http://YOUR-DOMAIN-NAME.com/#eStore_search_anchor”>&#8217;;

    $output .= ‘<input name=”eStore_product_search_term” class=”eStore_product_search_input_field” type=”text” size=”30″ value=””/>’;

    $output .= ‘<div class=”eStore_search_submit”>’;

    $output .= ‘<input type=”submit” name=”eStore_product_search” value=”Search” />’;

    $output .= ‘</div>’;

    $output .= ‘</form>’;

    $output .= ‘</div>’;


    I simply put my domain name (http://YOUR-DOMAIN-NAME.com/) before the #eStore_search_anchor and saved the file.

    This worked for me.

    I needed to do this because I developed my wordpress website in a subdirectory below the root directory of my domain. Before I changed this code, anytime I tried to get the search to work, it would try to load the search results using the URL with the subdirectory name in it. That did not work.

    Thanks for the help Admin.

    November 8, 2013 at 6:24 am in reply to: eStore – number of products to be displayed from a particular category #58759
    markpr
    Member

    So, just to be clear –

    You have no shortcode tweak to allow for more items to show on a specific category page. It is only adjusted globally from the settings menu – all the same on all pages.

    Is this something you may consider offering in the future?

    For some of us who have a large catalog of products, this ability would be nice. Not necessary – but nice.

    Thanks anyway. Keep up the wonderful work you are doing. Most impressive.

    November 7, 2013 at 11:35 pm in reply to: eStore – number of products to be displayed from a particular category #58757
    markpr
    Member

    Hi Mbrsolution,

    I am using estore 6.9.9.3 and extra shortcodes 4.7.5

    I over 300 products, and when I use regular category shortcode the pagination works great. But when I use the shortcode using “number=25” it only gives me 25 product listings – no pagination. That just won’t work.

    Thanks for looking into this.

    November 2, 2013 at 6:34 am in reply to: eStore – Receipt Creator not going to proper URL #58586
    markpr
    Member

    Thanks so much for all of your assistance.

    Increasing the memory size did the trick.

    You folks are fantastic and your plugins fabulous!

    November 2, 2013 at 3:13 am in reply to: eStore – Receipt Creator not going to proper URL #58584
    markpr
    Member

    There is progress. Now the subdirectory isn’t listed in the URL, but I do get the following error message:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 1966080 bytes) in /home/prpost5/public_html/E3P7QZ4NZjP/wp-content/plugins/eStore-receipt-creator/tcpdf/tcpdf.php on line 19992

    The URL in the browser is now:

    [http://p-rposters.com/?issued_receipt_display=5&email=motivationposters%40gmail.com]

    I sincerely appreciate the level of your customer service. I will make sure to give my testimonial and recommendation to the forums I belong to.

    November 1, 2013 at 3:11 am in reply to: eStore – Receipt Creator not going to proper URL #58582
    markpr
    Member

    WordPress Address (URL) [http://p-rposters.com/E3P7QZ4NZjP]

    Site Address (URL) [http://p-rposters.com]

    I usually develop a wordpress site in a subdirectory below the root so that I can make sure everything works correctly before it goes live. But, when I pointed the address to my root – with this plugin, somethings don’t work exactly right. Like the search function which I needed to add the [http://p-rposters.com] to the shortcode. But that doesn’t work for the receipt creator.

    Thank you for your assistance.

    October 27, 2013 at 11:33 pm in reply to: eStore – search shortcode not working #58484
    markpr
    Member

    That does the trick. Thanks so much.

    October 27, 2013 at 7:14 pm in reply to: eStore – search shortcode not working #58481
    markpr
    Member

    I was looking at the code in eStore-extra-shortcodes.php

    Would using a specific URL in this search code do the trick?

    Like using: [http://p-rposters.com/#eStore_search_anchor] for the form requests?

    Again, I’m trying to get the search shortcode to work — I have the wordpress files and plugins in a subdirectory, but have the website URL set to the root.


    function wp_eStore_product_search_handler($args)

    {

    extract(shortcode_atts(array(

    ‘search_category’ => ”,

    ‘category_id’ => ”,

    ), $args));

    $output = “”;

    $output .= ‘‘;

    if(!defined(‘WP_ESTORE_PRODUCT_SEARCH’)){define(‘WP_ESTORE_PRODUCT_SEARCH’,’Product Search’);}

    $output .= ‘<div class=”eStore_product_search_box”>’;

    $output .= ‘<div class=”eStore_product_search_label”>’. WP_ESTORE_PRODUCT_SEARCH. ‘</div>’;

    $output .= ‘<form method=”post” action=”#eStore_search_anchor”>’;

    $output .= ‘<input name=”eStore_product_search_term” class=”eStore_product_search_input_field” type=”text” size=”30″ value=””/>’;

    $output .= ‘<div class=”eStore_search_submit”>’;

    $output .= ‘<input type=”submit” name=”eStore_product_search” value=”Search” />’;

    $output .= ‘</div>’;

    $output .= ‘</form>’;

    $output .= ‘</div>’;

    if(isset($_POST))

    {

    $search_term = strip_tags($_POST);

    $output .= print_eStore_product_search_result($search_term,$search_category,$category_id);

    }

    return $output;

    }


    Sorry to be such a bother. It just seems to me there is a workaround for this issue.

    Thanks.

    October 27, 2013 at 12:35 am in reply to: eStore – search shortcode not working #58480
    markpr
    Member

    No, I’m not using two wordpress installs.

    I have the wordpress folders and files in a subdirectory below the root.

    So, when I try to search it loads the shortcode from the subdirectory and won’t give me any search results. The page it loads is this URL:

    [http://p-rposters.com/subdirectory/#eStore_search_anchor]

    I’m trying to find a way to specify in the shortcode (or somewhere in the admin) to get rid of the /subdirectory reference. And what is eStore_search_anchor?

    I’m lost. Do I need to install the search plugin in the root?

    October 8, 2013 at 4:37 pm in reply to: eStore product list only (not fancy) – clickable link to Thumbnail Target URL? #58152
    markpr
    Member

    Fabulous! Just what I was looking for.

    One last question. Is there a css tweak that would allow that specific list (fancy 9) to list 50 products per page? I have the products per page set to 20 (globally) in the eStore settings section – but with a list, 50 would work better.

    Thank you so very much for your assistance. This is a wonderful plugin.

    October 8, 2013 at 3:57 am in reply to: eStore product list only (not fancy) – clickable link to Thumbnail Target URL? #58150
    markpr
    Member

    Thanks for giving it a try, but unfortunately that won’t work for me. I have two sets of variations, and a product description. So, the #9 display just looks jumbled. Have a look:

    [http://p-rposters.com/E3P7QZ4NZjP/all-posters/]

    That is the result of using:

    [wp_eStore_category_products_fancy id=1 style=9]

    I understand it’s probably not a priority, and that’s fine. If others haven’t been asking for it then it probably isn’t real important. I appreciate your giving it a try.

    October 7, 2013 at 7:15 pm in reply to: eStore product list only (not fancy) – clickable link to Thumbnail Target URL? #58148
    markpr
    Member

    Because I have so many products, and I’d like to make it easy for my visitors to see a more comprehensive list of my poster designs without having to navigate so many pages looking at the fancy displays (which I love, and also use on the same website), I would love to have a shortcode that could simply generate a list of all the products in my database.

    It would also be nice to be able to sort by name or number, and to have a clickable link back to the Thumbnail Target URL.

    If this is developed, I believe a similar shortcode could be added to make a list of the contents of a specific category. Then, I would use the shortcodes of the categories I wanted to feature to create a nice looking “text catalog”. I have links to graphic samples of what I would like to see:

    For a complete list

    [http://print-a-poster.com/text_list_1.png]

    For a category list

    [http://print-a-poster.com/text_list_2.png]

    I realize this might not have been asked for in the past, but I do believe it would be a nice addition to your wonderful plugin.

    Thankyou for your consideration.

    October 5, 2013 at 8:20 pm in reply to: eStore product list only (not fancy) – clickable link to Thumbnail Target URL? #58146
    markpr
    Member

    Hi Keith,

    Thanks for the suggestion. But I have too many products to manually list them one at a time. It would be great if a list could be generated from the database. And, if it could link to the “Thumbnail Target URL” that would work perfect.

    Having this same type of shortcode, but for the different categories would also be an excellent addition.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)

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