• Resolved Lee_L

    (@lee_l)


    Is there a listing some where of all of the shortcodes in one place ?

    I have search every page and forum I can find and there are bits and pieces here and there but not a simple listing. Can you provide a sample listing ?

    Also from what I can tell there is NO search on the WP support forums and this generates a lot of the same support questions. Because there is no way to search for previous solutions it means a lot of the same questions being asked.

    https://www.ads-software.com/plugins/ultimate-product-catalogue/

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

    (@rustaurius)

    Hi Lee,

    There are two shortcodes:

    product-catalogue
    insert-products

    The main one that is used is product-catalogue, and it should include the ID of the catalogue you’d like to display as an attribute. For example:

    [product-catalogue id='1']

    The insert-products shortcode can be used to display a small list of products, but it needs to be linked to the main catalogue to display the product details. It was added so that it could be used by the plugin’s widgets and any developers looking to extend the functionality of the plugin.

    I’d love to see a search feature for the support forum, because like you said, not having one means that the same questions pop up every few weeks/months.

    Thread Starter Lee_L

    (@lee_l)

    Thanks for the reply.
    I thought there were also additional attributes to shortcodes that allow you turn on and off certain display features. Are these also documented some where ?

    Is there not a shortcode to call a specific Product in the Catalogue ?

    Also, how difficult would it be to allow admins to enter shortcodes into the Review tab ? Or if we could define our own Tab and have a text field to enter our own shortcodes.

    There are a number of other product review plugins that would really round out the excellent job you have done on the Product Catalogue.

    function UPCP_Add_Product_Reviews($Product) {
    	$ReturnString = do_shortcode("[ultimate-reviews product_name='" . $Product->Item_Name . "']");
    	return $ReturnString;

    Hi Lee_L,

    Yes there are various attributes that can be displayed on or off. These include: excluded_layouts ; starting_layout; prod_name ; sidebar ; category ; subcategory ; tags .

    The layout attributes accept ‘detail’, ‘list’, or ‘thumbnail’, the sidebar can be set to ‘yes’ or ‘no’, while the cat/subcat/tag attributes will take tag ID’s. The prod_name attribute may be the one you are looking for to limit the catalogue to displaying specific products.

    E.g.
    [product-catalogue id=’1′ starting_layout=’detail’ excluded_layouts=’thumbnail’ category=’3, 4′ subcategory=’2′ tags=’1′ sidebar=’yes’ prod_name=’item’]

    As for a display shortcodes feature, we will keep that in mind for future development.

    Thread Starter Lee_L

    (@lee_l)

    Thanks. And I think this would make your plugin even MORE flexible and extensive.

    Something that I have not seen others do and that would be to have a shortcode help atrribute.

    Example: [product-catalogue id=’help’] would display all of the possible shortcode options and attributes. I know this is a pain and requires more coding and probably something WordPress should implement as framework to short codes, but sure would save you a lot of support headaches.

    Final question (I hope) ??

    Is there any reason I can not substitute another plugins shortcode for the code included in shortscodes.php for Reviews ? I tried this and was not able to get this to work and wanted to know if there is something required to call another plugin from within shortcodes.php ?

    Any gotchas or things to look for when replacing shortcodes in the php file ?

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Lee,

    We’ve actually been working on a way to add user-defined tabs, which was just released. If you go to the “Product Pages” tab and use the dropdown menu to select the “Tabbed” layout, there should be an option to add up to 30 custom tabs with names that you specify and content that can include shortcodes.

    The only issues I can think of with trying to include a different shortcode would be that a lot of the time the content would not sit well in the “Customer Reviews” tab. For example, the styling might make it wider than the size of the container, etc. which is part of the reason we’ve been working on our own review plugin.

    Thread Starter Lee_L

    (@lee_l)

    I agree including other content could cause havoc but if it were easy everyone would be doing it. LOL We spend half of our time making a site work and look like we want.

    Thanks for the tip on the Tabs, I didn’t realize there was an update.
    I just checked it out and so far it looks like a great feature.

    Do you have any examples of using the “content” field for short codes and does that mean there are new short codes that have been added ?

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Lee,

    It should work for any shortcode that works on your site, basically anything that is available by default or that other plugins provide. The one we tested with was:

    Please use the form below to contact us about [product-name]:
    [contact-form-7 id="880" title="Contact form 1"]

    It’s a new feature, so let us know if there’s anything you notice that’s not working.

    Thread Starter Lee_L

    (@lee_l)

    Thanks I will. And I am thrilled with the work you doing. This is starting to become my second favorite plugin. ??

    By the way I did discover a tiny tiny bug that you might want to look at next release.

    – If you are in the Products Admin section and you are looking at the Add Products, if you click on the arrow in the upper right to step through the pages of products with the single arrows. It allows you to go past the number of pages that exist.

    For example I am testing with 35 products which takes up two pages. If I click on the arrow when on the 2nd page, it goes to the 3rd page which of course doesn’t exist. You can click away to as high as you want. BUT if you click the double arrow to go the the end it works correctly.

    No even worth mentioning but thought you might want to know.

    Thanks for the great work.

    Lee

    Thread Starter Lee_L

    (@lee_l)

    Rustaurius I would hope others jump in to this discussion to make sure its not just my system, but I am having a heck of a time getting anything to show up in the Tab Content feature.

    What is happening is the shortcodes or text is working BUT not being displayed in Google Chrome, Safari or on the iPhone.

    When I look at the “source” of the web page I see the content but is there but not be displayed via the browser. I have disabled every extension and every plugin except UPCP and still no display.

    Anyone else having this problem ?

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Lee,

    Can you try refreshing the page? Are the default tabs still working correctly?

    Thread Starter Lee_L

    (@lee_l)

    I have definitely refreshed, cleared browser cache, tried incognito mode and two different browsers, iphone. I tried Firefox as well and the same results.

    I thought it might a short code issue or because I was copying and pasting the short code so I typed it manually and I pasted the code into a text editor first and no difference.

    The TABS are working perfectly just that the Content is not being displayed.

    Plugin Author Rustaurius

    (@rustaurius)

    Would you be able to post a link so that we could take a look?

    Thread Starter Lee_L

    (@lee_l)

    Sure. I am taking a look at the Theme right now to see if that is causing the problem.

    That part of the site is not yet public so if I send the line to Contact@ will you get that email ?

    Lee

    update: i switched to the basic theme included with WP and still same problem. So I assume its not a theme issue.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Lee,

    Yeah, an email to Contact@ would work.

    Thread Starter Lee_L

    (@lee_l)

    Here is more information….

    As a test I added a second to tab to see if this made any difference it does.
    The first user Content Tab still does not display the info BUT the second Content Tab I added is WORKING.

    I hope this additional information helps.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘ALL Shortcodes listed in One Place ??’ is closed to new replies.