Shop overall layout liquid

Hi,
I am pretty lost with liquid and I dont understand why this is not working. Could anyone please help?
I have followed the related doc but nothing.
                {% if product %}
                {module_product catalogId="{{catalog.id}}" productId="{{product.id}}" template="/ModuleTemplates/Custom/productLarge.html"}
                {% else %}
                {module_productlistdump sortType="Alphabetical" template="" collection="products"}
                {% for product in products.items %}
                <div class="col-lg-4 col-md-6 col-sm-12">
                    <div class="tile">
                        <div class="badges">
                            <span class="sale"></span>
                        </div>
                        <div class="price-label">{{product.salePrice}}</div>
                        <img src="{{product.smallImage}}" alt="{{product.name}}">
                        <div class="footer">
                            <a href="{{product.url}}" title="{{product.name}}">{{product.name}}</a>
                        </div>
                    </div>                   
                </div>
                {% endfor %}
                {% endif %}
Issues I am having are:
Seems like {% if product %} it isn't working at all.
Tags {{product.salePrice}} and {{product.smallImage}}" dont return any value.
After clicking in any product it doesn;t redirect to the product details, seem like it is related with point 1 because it pass the url.
Thanks

Thanks thanks thanks.... I knew it, i am dumb... So, I can not use modules within the overall shop layout. Them, where can we use all the ecommerce modules??
To be honest i dont know anymore what i am trying to do. There are things that I have done in the past with js & css (i.e hide a filter panel within the detail product layout) but since liquid release I though that it would be better to do it with liquid, yes, I am gonna go crazy and waste a lot of time until I learn but it will help me in the future.
To make a long story short i want to show/hide the filter panel depending if its in the product list view or the product detail view, i think I have solved this as long using {%if globals.get.ProductID %} is not an aberration. Should i go back to js/css??
And the second thing is to use liquid to be able to fliter/sort/paginate the product list by different criteria. Here is where i am having more issues, I made it work with module_productfeaturelist but with module_productlistdumb I dont because it only render the name an the url.
I was reading again ths post Re: Custom template for related products? and somethings are usefull but I cant not overrwrite the templatePath.
This is the closer that I can get but its useless since I am using the module_productfeaturelist...
{module_catalogue catalogId="{{this.id"}}" template="" collection="cat"}
{%if globals.get.ProductID %}
      {module_product render="item" catalogId="{{globals.get.CatalogueID}}" productId="{{globals.get.ProductID}}" template="/ModuleTemplates/Custom/productLarge.tpl"}
{% else %}
     {module_productfeaturelist tag="picks" catalogId="{{globals.get.CatalogueID}}" collection="prd" template=""}
     {% for product in prd.items %}
           {module_product render="items" catalogId="{{globals.get.CatalogueID}}" targetFrame="_self" productId="{{product.id}}" template="/ModuleTemplates/Custom/productSmall.tpl"}
      {% endfor %}
{% endif %}
Thanks man, really appreciate your time.
Regards
Ira

Similar Messages

  • Problem with buttons in shopping cart layout

    hello,
    can anyone explain what i'm doing wrong here...
    i'm simply trying to use my own buttons in the shopping cart layout but the tag descripton is appearing alongside the buttons (and the buttons don't work) after i've changed the code.
    Old code:
    {tag_clearcartbutton,<img src="/CatalystImages/shop_clearcart.png" />} {tag_buybutton,<img src="/CatalystImages/shop_checkout.png" />}
    Result:
    New code:
    {tag_clearcartbutton,<img src="/img/btn_clearcart.fw.png" />} {tag_buybutton,<img src="/img/btn_checkout.fw.png" />}
    Result:
    regards and thanks,
    Frank.

    i got this reply from Sidney (Bc) and it worked - reset the page to the default and rebuild...
    Humm strange...
    When I restore the checkout layout back to original and apply the {tag_clearcartbutton,<img alt="" src="/img/btn_clearcart.fw.png" />}  + {tag_buybutton,<img alt="" src="/img/btn_checkout.fw.png" />} reference it works fine which leads me to believe something in your current code might be conflicting. 
    I would look into this or perhaps look to restore the layout back and go from there.
    -Sidney

  • How do I align {tag_productquantity} in the shopping cart layout table?

    I have inserted the tag {tag_productimage} into our shopping cart layout table. As per the instructions in the following article http://kb.worldsecuresystems.com/654/bc_654.html? bc-partner I adjusted the height for .productitemcell in the Style Sheet to be able to see the whole image. However I have tried adjusting many items and nothing seems to align the {tag_productquantity} to sit in the m iddle of the cell like the rest of the information in that row. Please see a screen shot here http://mychristmas.businesscatalyst.com/test this is for a website we are currently constructing http://mychristmas.businesscatalyst.com/
    Can someone please tell me what it is I need to adjust to stop having this Quantity field sit at the top of the cell?
    Many thanks in advance!

    Thank you for taking a look. I have already adjusted the .productitemcell height to 160px to be able to see the whole small image. What I am trying to find is how to have the quantity field box align with the rest of the information in that row. If you can see in the screenshot it sits at the top of the cell while everything else in that row sits in the middle. I would like to have it all sit in the middle of the row however can't find what in the Module Style Sheet is controlling this quantity field.
    If you are able to tell me this I would really appreciate it! Thanks!

  • Help with Individual Product - Large/Shopping Cart layout

    Okay we have an online store layout that we kind of configured around our product image, which can be seen here: http://www.divineunity1.com/womens/dresses/blackstrapless We are happy with the way that it looks however we would like to reconfigure our shopping cart to match the style of this product page. How do we change the width of the shopping cart?

    It is not just CSS.
    CSS is only the style and presentation of it, you have HTML as well and layout of the product and store and the overall templates that wrap them. I can not see any changes to a pre-existing BC template, unfortunatly just replace with static images..
    There are guides on the guide section
    http://forums.adobe.com/community/business_catalyst/documents
    You got links to 3rd parties on the right there.
    You got your main help - http://helpx.adobe.com/business-catalyst.html
    If you are really struggling you can contact us at prettypollution.com.au or others if they are in your country. But you may need to pay someone to get things done.

  • Checking Contents of Shopping Cart using Liquid

    Using Liquid is it possible to check what items are in the shopping cart? If so can someone point me in the right direction?
    Basically what I am looking to achieve is when a page loads check to see if certain items are in the shopping cart. If they are in the shopping cart I do something otherwise I do something else. If I can check quantities, even better.
    I am still working to grasp everything liquid. =>

    Hi Lynda,
    Take a look at this guide - Reference guide - e-Commerce related - it also supports the "on-the-fly" cart update Robert mentioned.
    Let me know how this works.
    Thanks,
    Mihai
    PS: On the cart.html page you can insert
    <pre>{{cart | json}}</pre>
    to see what other cart properties you can access (like the individual products and so on).
    At the moment though there are few fields that are "numeric", so this means that you can't apply mathematical operations to most of them. This will be fixed in the future, see Bug: Liquid math filters don't work with module data

  • Still trying to customize the layout of my e-commerse module, but it's not working for me

    I have followed the links  http://kb.worldsecuresystems.com/134/bc_1342.html#main_eCommerce
    I am still unable to manipulate these tabs to modify the layout. Please help. I want to center justify my items and no luck no matter what I try. They are so right justified on a tablet they are not seen. I've gone back to default. No luck. I type in center in the tag, no luck, hit the center layout of the tage itself, nothing works.
    I see this pre-set list of tags, but how do I modify them so I can get it placed well on page and change the number of items. I've read and re-read the pages sent to me previously. This does not explain it.
    Thanks

    This looks like an HTML error here.  For some reason, on your site your product list appears inside the <div class="cart-summary"></div> element and that element is being styled to float to the right.  That .cart-summary div should really just hold the text for what items are in your cart and the checkout link.
    It's likely that someone didn't close a DIV element properly which is making your product lists appear inside that div. 
    I'm not sure how much customization you've done on your Shop pages but I can help you reset it.  Basically, you need to restore your main shop layout to the original code and it should be ok.
    Before you restore the original layout you should back up the code first so open up a text editor or something to paste your current code/layout, then, once that's open:
    Login to your BC Admin portal
    Goto Site Settings > Module Templates > Online Shop > Overall Layout
    You should see some code there for your layout, select it all and copy and paste it into a text editor.  Save that text file as a backup so you can paste it back into that layout if things go awry.
    After you've saved your layout, on the bottom of that screen you should see a "Restore to default" button next to the save button.  Click that and confirm you want to restore it by clicking OK. 
    Now your site should be using the original online shop layout and your HTML issue is likely fixed.

  • Pagecontent tag adding footer clear div - problem

    I am trying to figure out how to remove the div that the pagecontent tag adds to my website. As you can see here the dark gray box under the product is added by a div labeled footer clear. When I remove that div, the layout problem goes away. Problem is I cannot find where to remove that code inside business catalyst.   I am using a .dwt and this is how that area looks in my code inspector,       
    {tag_pagecontent}
    Any ideas?    Thanks

    Hi duke_shibby,
    I'm not sure if I 100% understand what you're saying but did you try editing the Online Shop module template - Overall Layout? I know there is a div footer clear in there by default. You can get to this layout in the back-end by going to
    - Site Manager > Module Template > Online Shop > Overall Layout
    Carol | BCGurus.com | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • E-commerce Product Filters

    Hi BC community,
    Wondering if anyone has any tips, or has had any luck creating e-commerce product filters? I am looking for something similar to this website:
    Thanks,
    Aaron

    Hi A3_Aaron,
    The only feature that comes close to what you have referenced is the browse panel tag which you would insert on the online shop overall layout: http://kb.worldsecuresystems.com/134/bc_1342.html#main_eCommerce & http://businesscatalyst.com/system-announcements-app/ecommerce-browse-panel-is-here-dont-m iss-it. However, it's not quite as extensive as the example you have referenced - to achieve this and possibly extend browse panel feature, you may need to use custom coding such as JavaScript. Perhaps someone from the community can provide input on how this could be possible.
    Cheers.

  • Replace table codes with useLi in BC module template online Shop Layouts

    I am having a problem in BC module template > online Shop Layouts:
    Trying to get rid of Table Codes that inserted by BC system with List or possible Div
    Contact with Adobe BC tech support, they suggest use this useLi tag in my online Shop Layouts. After I implement the codes below, and it doesn't work. The table code is still there on the front page:Here is the code that I implement in the module template: {tag_productlist, useLi (true)}
    Below is the front page codes, you can see the table is inserted by BC system:
    <table class="productTable productSmall"><tbody><tr><td id="catProdTd_9074914" class="productItem">
    </td><td class="productItem"></td><td class="productItem"></td><td class="productItem"></td></tr></tbody></table>
    How could I remove the table that insert by BC System? Please help!!

    Hi there,
    You need to look at the tag information properly,
    http://docs.businesscatalyst.com/dev-assets/reference#!/tag-reference/e-commerce/online-sh op-overall-layout.html
    You will see it has a lot more components to it, you need to have the commas correctly, if you do not want to specify one of the components you just leave it blank.
    EG - {tag_productlist,3,,24,Alphabetical,true,true}

  • ProductList layout vs. ProductFeatureList? for Mobile?

    Hi folks,
    I'm running into a very bad problem for mobile.. When viewing catalogs in the Overall Template for ecommerce,  the table layout is a total mess.
    The problem does not occur for example on the  home page   (http://joden.businesscatalyst.com)   where the featured images are liquid and work very well:
    {module_productfeaturelist,featured,6,Alphabetical,_blank,}
    But on the overall catalog layouts,  the default {tag_productlist}   creates  an illiquid table that does not display at all properly on mobile.
    http://joden.businesscatalyst.com/antique-jewelry
    Is there a way to fix this problem for Module Templates> Online Shop> Overall??
    Thanks
    Jeff

    You can set the tag_prouctlist to display as an unordered list instead of a table. Here's the docs on the tag:
    {tag_productlist,productsPerRow,targetFrame,resultsPerPage,sortType,hideEmptyMessages,useL i}
    Just set the useLi to true.
    Dan

  • BC online shop tables not divs?

    Hi everyone,
    I am making a bc template from scratch to learn how to work with bc. I am making a online shop and bc displays the products in tables
    <table class="productTable productSmall"><tbody><tr><td id="catProdTd_9019550" class="productItem">
      <div class="shop-product-small clear">  <h5><a href="/red-wine/sample-product-1">Sample product 1</a></h5>  <div class="image"><a href="/red-wine/sample-product-1"><img id="catsproduct_9019550" src="/images/Catalogs/Redwine/bottle_thumb.jpg" alt="Sample product 1" border="0"></a></div>  <ul>  <li class="price">Price: <strong>€25,00</strong> </li>  <li class="stock">In stock: <strong>15</strong> </li>  <li class="quantity">Qty: <strong><input id="Units_9019550" class="productTextInput" name="AddToCart_Amount" type="text" value="1"></strong> <input class="productSubmitInput" name="AddToCart_Submit" type="submit" value="Add to Cart" onclick="AddToCart(296732,9019550,'',3,'','',false);return false;"></li>  </ul>  </div>   
    </td><td id="catProdTd_9019582" class="productItem">
      ..some more code...
    </td><td id="catProdTd_9019566" class="productItem">
      <div class="shop-product-small clear">  <h5><a href="/red-wine/sample-product-5">Sample product 5</a></h5>  <div class="image"><a href="/red-wine/sample-product-5"><img id="catsproduct_9019566" src="/images/Catalogs/Redwine/ValpolicellaTrim_thumb.jpg" alt="Sample product 5" border="0"></a></div>  <ul>  <li class="price">Price: <strong>€45,00</strong> </li>  <li class="stock">In stock: <strong>15</strong> </li>  <li class="quantity">Qty: <strong><input id="Units_9019566" class="productTextInput" name="AddToCart_Amount" type="text" value="1"></strong> <input class="productSubmitInput" name="AddToCart_Submit" type="submit" value="Add to Cart" onclick="AddToCart(296732,9019566,'',3,'','',false);return false;"></li>  </ul>  </div>   
    </td><td class="productItem"></td><td class="productItem"></td></tr></tbody></table>
    I would like to know how can i make this a responsive product display.here is my template if you wanna check it out:Red wine

    Hi Adam,
    ok so i have to change to useli but were can i find that layout page, i can only see in the module templates overall layout, individual catalog, individual product, etc
    this is the over all module template:
    "You are here: {tag_cataloguebreadcrumbs} 
    {module_shoppingcartsummary,horizontal}
    {tag_cataloguelist,4} {tag_productlist,4}
    {tag_previouspage,} {tag_nextpage,}
    {tag_pagination}"
    This is the individual product small:
    {tag_name}
    {tag_smallimage}
    Price: {tag_saleprice}
    In stock: {tag_instock}
    Qty: {tag_addtocartinputfield} {tag_addtocart}"

  • Convert 6 page pdf to dynamic layout

    Hello,
    I am trying to create a dynamic pdf that shows/hides various sections and grows as needed depending upon what is selected.  I started with a 6 page pdf that I created from the html webpage that we are currently using to do this with javascript.
    So I am setting up my subforms and using the Action Builder to set the presence of the subforms and everything is working great until I get to the bottom of the page and the last subform is not carrying over to page 2 and is just cutting off in the middle.   I've tried looking at various pagination options, and I am just not sure what to do.  So I looked in the Help more and it talks about how dynamic pdfs don't really have pages until they are fully processed, so I am not sure how to get my fields out of the current 6 page layout.  I am very new to Designer so I would appreciate if you have any advice for me on how to get this working.
    Thank you!
    Mindy

    Hi Mindy,
    It should like the page type is set to Positioned in the Object > Subform palette. To get the content to overflow onto a new page, you need to set the page type to Flowed.
    When you change the type to flowed, the page contents will become left aligned and stacked one object on top of another. This may mess up your layout. So if you undo this and then start to group objects that do not grow into positioned subforms. This will help you maintain the overall layout.
    This example form looks at the difference between positioned and flowed content. If you scale the images up you will see that the positioned content will cut off the image and will not flow onto a new page.
    http://www.assuredynamics.com/index.php/category/portfolio/explore-the-differences-between -positioned-and-flowed/
    I have a sample here that examines the steps to setting up a dynamic form:
    http://www.assuredynamics.com/index.php/category/portfolio/building-dynamic-tables/
    In addition the form needs to be saved as a Dynamic XML Form in the save-as dialog.
    Hope that helps,
    Niall
    Assure Dynamics

  • How to get text padding in CS6 fluid layout div?

    After having set-up my fluid layout divs and entering some content, the text is all slammed against the left. Very unsightly! But my every attemtpt at chaning the CSS to insert some left padding breaks the overall layout by pushing divs down the page and ruining the column structure, presumably because these divs no longer fit (?). My overall layout does have a mix of columns for tablet and desktop, which degrade to a single column for the mobile.
    Any help teaching an ol' dog a new trick would be much appreciated!

    If you're using other HTML tags like <li> <address> <cite> <code> <blockquote> etc... you'll need to create padding styles for those, too. Usually the padding will not appear if you haven't enclosed text or images inside an appropriate tag.
    Nancy O.

  • Organizer 10 window layout

    Hi,
    I have Photo/Pre Elements 10 installed on Win7-64. I previously had Photo/Pre 8.
    In 8, I could change the overall layout of the Organizer (change the size of sidebars, centre view window, etc), and it would keep when running the program the next time. In 10, these changes do not stick; it reverts to a default original layout and not my modified setup.
    I haven't found an option that would need to be checked.
    Any ideas?
    Thanks

      When launching the Organizer - right click on the icon and choose “Run As Administrator”
    The changes should then stick.
     

  • What happened to Layout Adjustment? CS6 MENA

    Hey, what happened to Layout Adjustment?!
    I'm looking at InDesign CS6 8.0.1 ME version (Hebrew enabled, English
    interface). It's definitely not there under the Layout menu. I've got
    "Create Alternate Layout", "Liquid Layout", "Reverse Layout" (an ME
    feature), but no Layout Adjustment!
    I have clicked "Show All Menus" in the Workspaces menu at the top of the
    screen.
    I have trashed preferences.
    To no avail.
    The only way I'm able to access Layout Adjustment right now is via Quick
    Apply (with "Include menu commands" ticked.)
    Also, in Edit>Menus>Application Menus there is no entry that I can see
    for Layout Adjustment (I'm looking under the Layout menu entries.)
    So... where did they move Layout Adjustment to? Where is it on your
    machine?
    Alternatively, did they just forget to include it?
    Thanks,
    Ariel
    Win 7 64-bit

    So it is! Well spotted ;-)
    Ariel

Maybe you are looking for