Is there a liquid tag for related products?

It doesn't seem to be liquid tag for related products. I am now using {tag_relatedproducts}.

I would use {{relatedproducts}} because I would use Reiunnaitre = "true" to get rid of the default table.

Am I missing something or is there no liquid tags for related products? It would be useful to have a.

If she is not there, is there another way to use a list instead of a table for related products?

Thank you.

That's what said Liam...

For related products as a liquid, use a collection on your {tag_relatedproducts}:

{tag_relatedproducts, 4, true model = "" collection "relatedProducts" = "}

{% If relatedProducts.items-%}

{% for article on relatedProducts.items-%}


{{ item | json }}

{% endfor}
{endif %}

NB: Please take note of the specific command model = "" before = "yourVariableName" in this case. " Trust me, you exchange these autour, in some cases, product related collection will be empty. I can't emphasize this point enough.

Hope this helps

-Stephen

Tags: Business Catalyst

Similar Questions

  • Custom template for related products?

    So, this is the first time I try to customize an ecommerce solution beyond the normal stuff of the BC. Customer wants a specific view for related products, so my first thought was to use a custom template, but it doesn't seem to work.

    So I almost with the help of the model of module, a decline in the amount of 1 - and hoping I can use a custom template for the display of the small product instead since I use that related products.

    I forgot something? Is it possible to use a custom template for the {tag_relatedproducts}?

    Thank you Joel however I have more control over the layout as a few styles of it. I ended up jumping in with the beta version of liquid to get what I need, what gave me some other customizations.

    TAGS cannot take a custom template variable, I chose to store it in a tag "capture." So based on some conflicts of naming of my catalog images, I was able to target specific catalogs, then browse related products and build them up as I wanted.

    Here is an example of what I chose to go with.

    {capture products %} %

    {tag_productlist, true true, 3,}

    {% for %} endcapture

    model {module_catalogue catalogId = "{{this.id"}} "=" "collection ="cat"}

    {tag_name}

    {% If {cat.imageUrl} contains 'show' and ({{this.id}} == {{tag_productlist_5_8.catalogId}}%}}

    {tag_productlist, true true, 3,}

    {% elsif {cat.imageUrl} contains "display" %}

    {% for %} tag_productlist_5_8.items products

    REF #: {{product.custom3}}

    MFG #: {{product.custom2}}

    Price: {{product.saleprice}}

     

    {% endfor %}

    {% products.items %} elsif

    {tag_cataloguelist, true true, 2,}

    {% for %} tag_catalogueList_3_9.items products

    Price: {{product.saleprice}}

    {% endfor %}

    {% other %}

    {tag_cataloguelist, true true, 2,}

    {tag_productlist, true true, 3,}

    {% endif %}

  • Liquid tags arrested made for a Web App?

    I have a page that uses a web application and the liquid to allow a person to post comments for the company. It has been brought to my attention that it worked.

    In the investigation of the problem, I created a blank page and added the following web application:

    {module_webapps id = "25746" filter = "all" resultsPerPage = "500"}

    In the presentation of the list, I have the following code:

    {{name}}

    {{description}}

    When the page is displayed, you see the following when you look at the code:

    <!-CATALYST_ERROR->

    Why the code is not made?

    I also tried this code:

    {module_webapps id = "25746" filter = 'all' resultsPerPage = "500" collection = "review" template =""}

    {% for i % review.items}

    {{i.name}}

    {{Description}}

    {% endfor}

    with the same results. I also tried using the model of backup with the same results.

    It worked very well for a while. I'm not sure exactly when it stopped working. I have other liquid code on the site unrelated to this web application and the code works fine. It seems that this web application.

    If I change the tags {tag_name} or {tag_description} the page renders. That said, the full code to manage the clients uses a lot of liquid, so using the legacy tags is not an option.

    I talked with support via chat and they said it was a matter of liquid Tag and post here.

    Why this code doesn't work, I am baffled by this.

    Here is the page that comes the web application by using the list of the list template:

    Test page

    Any help is appreciated as I really need to get this sorted out as soon as POSSIBLE.

    Lynda

    Well Yes, check the 4th revision...

    There are strange characters in the body:

  • liquid related products

    Hi guys ive just started setting up for liquid and thought, I wish to begin by making related products on a tabular presentation.

    I added this code to my great product

    RELATED PRODUCTS

    {tag_relatedproducts, 4, true model = "" collection "relatedProducts" = "}     {% for article on relatedProducts.items-%}
    Placeholder image
    {{item.custom1}}

    {{item.name}}

    {{item.salePrice}}

    {tag_addtocart}
    {% endfor}

    I'm not sure if this is the right way to do it but it seems to work ok... only my price have no $ and my product names have no connection with great view.

    Screen Shot 2015-07-24 at 5.08.50 pm.png

    That's why im im thinking something wrong.

    This | JSON on my articles or whatever it is you gets all the information output.

    Take a look at to see what you get.

  • How to get a product key, that I had a new hard drive installed in the computer shop and it seems that there is no key for windows 7

    Original title: window 7

    Hi can one tell me how to get a product key, that I had a new hard drive installed in the computer shop and it seems that there is no key for windows 7, I just brought Office 2016 and he did not finish the load down with the windows key 7.

    Because Windows 7 is in limited stock because Microsoft ended sales in October 2013, this created demand due to its rarity. This means the retail boxed copies request a bonus, while the OEM System Builder copies remain affordable.

    Full version (retail):

    -Includes the rights of transfer to another computer.

    -Does not require a qualifying earlier version of Windows.

    -Expensive

    Upgrade version (detail):

    -Includes the rights of transfer to another computer.

    -require a qualifying earlier version of Windows.

    -Expensive, but less expensive full version

    OEM System Builder version:

    The OEM of Windows 7 versions are identical to the versions commercial full license with the following exception:

    -OEM versions don't offer any free direct support from Microsoft technical support Microsoft

    -OEM Licenses are tied to the computer first you install and activate it on

    -OEM versions allow all hardware upgrades except for an upgrade to a different model motherboard

    -OEM versions does not move directly from an older Windows operating system

    There is nothing wrong to use it too, especially that all future versions of Windows will be full versions.

    You can find software OEM System Builder of dozens of online merchants. The current price for OEM Windows 7 Professional Newegg, for example, is $ 140. When I checked a few minutes ago, Amazon offered packages OEM Windows 7 Professional from several vendors at prices ranging from $ 101 to $ 150. When I checked earlier, a package specifically designed for reconditioned PCs cost only $ 50 for a 64-bit copy.

    There is no technical limitation to prevent you from using OEM software on your computer, although this software only works for a clean install, not an upgrade. In the past, Microsoft has been remarkably inconsistent in his advice to clients on the question of whether this practice is allowed. (See "is allowed to use Windows OEM on your own PC? Don't ask Microsoft. »)

  • My creative cloud subscription ran out. I've updated my contact information. Adobe is deducted from the money, but I can't find the serial number in my account for the product so can't get all running programs. I have the small card, but there letters and

    My creative cloud subscription ran out. I've updated my contact information. Adobe is deducted from the money, but I can't find the serial number in my account for the product so can't get all running programs. I have the small card, but there are letters and numbers. Adobe doesn't let me put those in the fields of serial number. Is it possible I can get Adobe to help me because I'm paying for something that I can't use.

    Hello

    Please check the help below document:

    Quickly find your serial number

    In the case of the volume license product, please visit: site Web of Adobe License | Serial numbers | Orders | Accounts

    Kind regards

    Sheena

  • I bought Adobe Acrobat Pro Extended 9. My laptop got crashed and now I want to install Adobe Acrobat Pro extended 9 as I have the serial number for this product. I'm not able to find the download link for this product, but there is a link to Adobe Acrobat

    I bought Adobe Acrobat Pro Extended 9. My laptop got crashed and now I want to install Adobe Acrobat Pro extended 9 as I have the serial number for this product. I'm not able to find the download link for this product, but there is a link for Adobe Acrobat Professional 9 and I download and run the program installation and entered the serial number and it shows incorrect serial number. I need fix the download link for Adobe Acrobat Pro Extended 9. Thanks in advance.

    Windows:

    Download Acrobat products | 9, 8

    Mac:

    N ° 1)

    Click on the below link, Sign In and open Photoshop Elements download link.

    Do not close the page, just keep it open.

    https://www.Adobe.com/cfusion/TDRC/index.cfm?product=photoshop_elements

    Note: * If we do not keep the page of items in Photoshop, we will have access denied error message when file downloading install direct.

    Then click on the link below and download the installer directly mentioned in step 2.

    Step 2)

    http://trials2.Adobe.com/applications/Acrobat/APRO/9/APRO9_Mac_WEB_WWEFG.dmg

  • I lost the installation disc 3rd for CS5 Production Premium Student Edition. Is there a way that I can do to get a replacement CD?

    The question above pretty much sums up my situation. My computer broke down and he had to be restored to factory settings, and when I went to reinstall Adobe Premiere, I noticed that I must have misplaced the 3rd installation disc. I know it of a long shot, but is it possible that I can get a new one? Or is there anywhere else to download CS5 Production Premium? I have a video project due soon and I want to get CS5 operational return.

    Downloads available:

    Download and installation help links Adobe

    Download and installation to Prodesigntools help links are located on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions". window using the Lightroom 3 link to see these "important Instructions".

  • Output {{productHeight}} and {{productWidth}} tags for calculation?

    Hello

    I need to perform the calculation using the height and width of a Liquid product, but with the fields for the dimensions of the product, I find no way out of these data. There is no standard tags from BC, nor liquids tags.

    I also looked in the BC Discovery API app and it shows the height and depth, but not in width.

    Someone at - he found how these tags to output?

    Thank you

    Paul

    Hi Paul,.

    You can use module_data to get the specific details if you're on the big presentation of the product.

    {module_data resources = 'products' version = "v3" field = skip "productWeight, productVolume, productHeight, productDepth" = "0" limit = "1" where = "\ {'id': '{{id}}' \}" = 'id' = "myData" collection order "}

    {{myData|json}}

    {{myData.items [0] .productVolume: time: myData.items [0] .productHeight}}


    productVolume is actually the width as written in "Product Dimensions"

  • liquid tags not made in the shopping cart?

    I shall preface this by saying that I am so frustrated that I am about to necking.

    For some reason, I have completely failed to understand the basic principles of operation between the basket and the basket of purchase as well as pages. I need to be able to target the innerHTML, failed completely to be able to do by using the model of module and the module basket (with js), so turned to liquid, which, as I understand it, should make the name of a product with {{name}}. Only it doesn't, it will display the text just as raw. {{This | json}} however works fine. I don't understand. I'm really not. So please, for the love of God, for the sake of this piece of you that feels good when you help someone else, if there is something obvious that I may have missed or miss me understand the process here, please help me.

    EDIT: I will add, I tried to add liquid tags to the shopping cart module model, and it is there that they seem not to function. It is also part of the model module purchases that I could not target the innerHTML using js. And once again, please, if you can just help me understand how it needs to operate, I can do the rest, but it's just a nightmare at the moment.

    The basic thing it is that say you the name. Name of what and where is the issue?

    If your in the basket name presentation does not return product names, it's fair for one. You need to loop through the elements of products in the basket and then convert the names into a loop for example.

    -What are you trying to do?

  • Where is the support for Sonicwall products?

    I had a post on a topic that is important here since Friday 21. There is no entry at all. This seems to be a forum "network security" generic, non-specific to sonicwall, but I see nowhere elsewhere on the Dell site for questions on sonicwall products. The old forum of sonicwall is read-only.

    -What is it? It is quite appalling. If support for sonicwall products is this low I would hesitate before buying again the sonicwall.

    Uniquehandle,

    This isn't a technical support forum, a public forum that users and come to ask questions and get assistance with their products.

    Yes, just a forum for network security, they are spotted but especially all the posts here are the Dell SonicWALL UTM product and other related products.

    Yes, there is a lot of activity here of people like me, who work in technical support for Dell SonicWALL. But this isn't a replacement for Technical Support requests.

    No, we are not required to answer questions on this forum, but we do so in the interest of the community and to increase the amount of knowledge that our users have. This helps to learn more about the product and have the ability to help other people on this forum when they display asking questions. There is also no SLA on response to any post on this forum.

    Yes, the SonicWALL forum was read-only for a while that we are Dell SonicWALL and our community is now the responsibility of the Dell family.

    Our support for our products is very strong and only get better every day. Yes, our support is provided with a contract, but this is to make sure that we, Dell SonicWALL, can pay the technicians.

    From what you've posted so that you do not have a support contract with us very probably you don't have a case with Technical Support. If this isn't the case, you do not have a case with technical support and troubleshooting went beyond your support contract send me a DM and I will look into the issue.

    WARNING: It is, in any case form or shape, a guarantee that I have the poster of this response, or any other employee of SonicWALL Dell will be troubleshoot or solve your problem via this medium. It's just to discuss the issue with the opportunity to provide a form of help and guidance with your question.

    #Iwork4Dell

  • Search for Microsoft product Ket Windows8

    Bought a new computer from Dell with Windows8 desktop pre-installed.  All my previous PC Windows7 return has always had a real sticker coloured to show the product key of Microsoft for the operating system.  The new Dell with Windows8 Office has no Microsoft sticker.  I contacted Dell and they told me that the sticker is not been on Window8 PC... and there is no reason for anyone to know the product key code, because it is embedded in the wood.

    I want to know the product key for my copy of Windows8.  I want it because it proves my copy is authentic, it turns out I have a license, and it will I should never need re - install my OS... .for example, my PC hard drive crashes and I have to buy a new hard drive and reinstall the OS Windows8, I decide to change my hard drive to an SSD, I need to run a repair of BONE... all these questions would allow me re - install the OS Windows8 legally... and I need the key code Windows8 product to run these processes.

    In addition, maybe I'm wrong, but I always thought that when I buy a Microsoft OS, I bought a license to use this copy of the OS on ONE PC... that is, the right to use the operating system is not dedicated to the PC, it was originally installed...

    How do I get the Microsoft product key for my factory installed Windows8 Operating System?

    Denmarfl

    The key for pre-installed machines called OEM, and it is related to the material.  If you change enough material, it will no longer work and you will be forced to get a complete commercial key.

    In fact, you have not bought the key? BONES the fact LIM and because it is OEM it is related to hardware and is only supported by Dell.

    It is them that you need to discuss this situation, BTW, there are several 3rd party applications that can read the key if you are still interested.

  • Satellite L300 - Microsoft Office ask again me for the product key

    Hi I have a Satellite L300 and there Windows Vista. When I use Office at home thing he always asking me for a product key.

    I put it in but he falis to recognize? Why? He says that I don't have 18 going to the left. I can no longer access the processor then? If its pre-installed but why it ask me the number?

    In any case it took me forever to get herre to write this. Why cantToshiba have just a simple e-mail response to the queries of customers service! I bought it in August last year and this is the first time that I need help, but you would have thought that they would have made it easier to the needs of customers!

    Thank you.

    Hello

    > Home Office thing
    Nice description ;)

    In any case, I think you mean the version of Microsoft Office that is preinstalled on your laptop. As far as I know that s only a trial version of it and that means you need to buy a version of office if you want to continue using it.

    If you n t buy a version of desktop, you can t more use it.

    Finally, and especially if you have several problems, you should contact a Toshiba instead authorized service provider directly.

  • ENVY 750-197c: cannot download drivers Win 10? "We have found the drivers for your product...". »

    I just installed Win 10 (64-bit) on my desktop and I want to install/update the drivers on my computer because my internet on it is a little wonky (and in general I want to update the drivers anyway). However, when I go to the page "Software and drivers" and enter my name/type of product, I get a message saying "we have found the drivers for your product. Drivers may be in development, so please check back at a later date or visit the product home page. ». There were drivers available here yesterday. How long this change usually take? Can someone help me find the drivers of the template from another computer that might work for my computer? Thank you!

    Hello:

    It looks like all the drivers, specifications and manuals are missing from the pages of support again.

    This happened earlier in the week also.

    Another Member of the forum has reported the problem to administrators forum, which will be in touch tour HP, but since I am not employed by, nor do I represent HP, I don't know how long it will take to restore the missing data to the support pages.

    Whether the weekend will not help much either.

  • is there a way to get retail products?

    is there a way to get retail products

    I guess that your University is a member of MSDN AA, which give free license to students if your subscribing Faculty:

    You can find your school:

    http://msdn.Microsoft.com/en-us/academic/dd861349

    And then to find admin and contact him or her, for more details. The University could also help you get the iso files.

    In addition, dependent on your country, you could contact Microsoft and ask them to send you the CD or the DVD of the product.

Maybe you are looking for

  • You say don't not to use Java, but when I remove it, I just can't see vedios and things don't work properly. So, if I cancel Java I use.i

    Explain to us whether to use Java. ? If she isent safe for our games and coupons and videos that which must be loaded on the computer to make these things work. ? Damed if we do and damed if we do not have. People who are not computer and get older,

  • The monitor program basis for hp touchsmart 610-1250 temp

    Hello Re: HP TouchSmart 610-1250, 64 bit, Win 7. This is a new computer, my first all-in-one, and I want to follow the base temperature. My gadget CPU tells me that there is no core temp system. Is it possible to download a monitor? As an all in one,

  • built-in Administrator account

    How to copy the built-in to another administrator account account user with administrator privileges? I used integrated until I understand the security risks. I want to transfer all Outlook data, including notes, flags and deadlines to another user a

  • System Restore does not restore

    Hello world! Lately, after MS updates, I had a lot of problems with my laptop. It seems that the updates instead of improving my system, they actually make it unstable. Someone has the same problem and do you know why this is happening? After saying

  • BlackBerry Smartphones BlackBerry "BOLD" 9000 no sound.

    Hello! I had problems with my BlackBerry recently and there is no sound at all on the phone. The only place where it is strong is during calls. I have the phone on Loud and the sound is entirely up to. I tried tire batterys and everything and nothing