Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi tomacsh,

    You’ll need to use the ‘starting_layout’ attribute in your shortcode.

    For example:

    [product-catalog id='x' starting_layout='List']

    Thread Starter tomacsh

    (@tomacsh)

    Thanks, I did that…However, now when the page loads, it is blank until I actually click on the Tab for list view. ?
    Can I remove the Tabs altogether and only have 1 view (List) for all my Category pages?

    Hi @tomacsh,

    You can remove the other two tabs using the following shortcode, and you do not need to include the starting_layout attribute anymore.

    [product-catalog id='x' excluded_layouts='Thumbnail, Detail']

    Could you try this and see if the issue still exists?

    Thread Starter tomacsh

    (@tomacsh)

    Added that, took out [product-catalog id=’14’ starting_layout=’List’] but it looks the same as before (Tabs are still there, nothing is “Listed” until I click on the List view tab). Does that shortcode need to go anywhere besides the “Custom CSS” in the Product Catalog Settings?

    • This reply was modified 5 years, 11 months ago by tomacsh.

    Hi tomacsh,

    1) Could you send us the exact shortcode you’re using?

    2) Also, to rule out plugin/theme issues:
    – if you disable all other plugins except Product catalogue, does that change anything?
    – Or, if you temporarily switch the theme to a default WordPress one (e.g. “Twenty Nineteen” theme), is there any change then?

    Thread Starter tomacsh

    (@tomacsh)

    Hi,
    Still struggling with List view.
    Here is the shortcode for the catalog:
    [product-catalog id=’14’ excluded_layouts=’Thumbnail, Detail’]
    .upcp-overview-mode-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 14px 0;
    background: #111;
    background: #341A0A;
    color: #fff;
    text-align: center;
    transition: background .35s;
    }
    .upcp-overview-mode-item:hover .upcp-overview-mode-title {
    background: #111;
    background: #cd4f87;
    }
    I disabled all other plug-ins, still not working (have to actually click on the List Tab in order for list to show up on page…starts as blank.)

    Hi @tomacsh,

    Could you try using the following shortcode and see if that makes a difference?
    [product-catalog id='x' excluded_layouts='Thumbnail, Detail' starting_layout='List']

    Also if you are using any cache plugins, please delete your cache and see if that changed anything.

    Thread Starter tomacsh

    (@tomacsh)

    Used that code. Cleared the cache in WordPress AND my browser, no luck. And when I add this code ‘.Black-prod-cat-header-div {display: none;}’ which works to remove the tabs at the top (which I’d like to do in the end), there is NO product content showing up at all.

    It’s either caching or the shortcode isn’t being entered correctly or you’re using it in some kind of page builder that is not allowing it to work correctly. That shortcode attribute has never not worked, so something specific is going on, on your end, to make it not work. Can you post a screenshot of the edit screen for your catalog page that shows where and how you’ve inserted the shortcode?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Defaulting to List view’ is closed to new replies.