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 %}

Tags: Business Catalyst

Similar Questions

  • 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

  • Creating a custom template for a SMS BlackBerry App

    Hello

    I intend to develop a set of custom templates that can be used all by creating Sms in BlackBerry.

    Currently, I have added a menu item "Use templates" to the "ApplicationMenuItemRepository.MENUITEM_SMS_EDIT" and it is visible while creating/changing an Sms message.

    When we choose the menu option, I show a template screen which contains a list of template messages. But, I need to insert the selected message in the display of the model in the application of Sms to the current position of the cursor.

    How can I get the handle to the application model screen Sms? I can so able to insert the model message in the content of the Sms app. Can someone help me with this?

    Thank you

    Belot

    as you have no reference to the message request you can only insert it using injection of the event. the event is always prone to error that the user can interfere with its own entrance. Nevertheless an approach to try.

    the other option would be to replace the sms application. you lose the integration and need to add yourself in custom menu items. I would try the injection of the event or notifies the user that they must call just stick, is not only a lot of work for the user.

  • Best app to make a custom template for the versatile tables?

    I'm new as a result of creative and wonder what the best app is to make a custom template to view and edit tables such as Budgets and the Phases of the project for my clients in new design. Most of the models I find online are dull spreadsheets.

    I want to:

    • create my own templates with my own brand image
    • Edit and adjust the information in the tables for the Phases and budget proposals.
      • import data from spreadsheets or directly enter custom data
    • export to PDF or JPG for quick sharing

    It is better to make of spreadsheets and import them into my models? If so what is the most compatible adobe for this software? I take courses at Lynda.com and would like to know where to focus my hours of learning.

    I appreciate any help!

    Thank you

    Gabe

    If you want to make a spreadsheet, you must use the spreadsheet software as ms excellent.  Adobe does not have the spreadsheet software.

    and you could google that if you want something free or other choices.

  • New features in custom template for web applications

    {"module_webapps, 6374, a template="/ModuleTemplates/Custom/WebApps/Regions/custom_region-selector.tpl "}

    Above is the syntax I use right now, and it doesn't seem to work. It seems to be failing for the list to Layouts/WebApps/Regions/list.html template.

    Everyone can't see what I'm doing wrong? Yes, the tpl file exists in this place.

    Get to have this module in another, or content owner?

    If yes - tapped, will return to the default list.

    If no, I did not put it under ModuleTemplates that you have, I did it under_system. Try the model outside this folder to see if she makes.

    But guess it was my first assumption here.

  • a custom template for an af:tree building

    With the help of JDev 11.1.1.3

    I want to use an af:tree to display the data in a hierarchy, but I'm not using ADF BC or even links. On this project, we are only allowed to use the components of faces and that's all.
    We use EJB 3 as a data layer.

    Now, I want to fill an af:tree with data from our database using the EJB.

    When you look at the documentation, there is a part on the tables and trees. It describes how to complete the tree based on a template:
    http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31973/af_table.htm#CIADBJCJ

    When you look at this code, the code snippet uses instances of TreeNode. the documents do not say what class is this real... When we look into jdeveloper I find only the TreeNode of the javax.swing and some interfaces/abstract classes for processing xml but I can't seem to find a class that I can use...

    The documentation is not clear on this subject. Can anyone provide me with the best documentation or example on how to fill out a tree of a bean of support rather than use links to a data control?

    Chris Muir has done a blog on this here 't-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html http://one-size-doesn
    This blog is a little older but still works.

    Frank Nimphius has a blog here http://thepeninsulasedge.com/frank_nimphius/2010/06/28/new-on-adf-code-corner-editable-tree-nodes-using-the-oracle-adf-pojo-data-control/

    Timo

  • Custom template: table in a table

    Hello

    I've recently started working with a custom template for the first time. I'm already far enough to get what I want to accomplish, but I have no idea how to implement what I'll describe here.

    In my application, I need data in tables 3 (simplified, it's actually more than that). The data in these tables have a 1 to many relationship. The data are the following: 1 the activity has many tasks, task 1 has several subtasks.

    I want to show a screenshot but as I can't post pictures here, so simplified, what I have is:

    Assembly1

    Task1

    Subtask1

    Assembly1

    Task1

    Subtask2

    Assembly1

    Task2

    Subtask3

    Assembly1

    Task2

    Subtask4

    Here he repeats my model for all ranks

    But what I would like to have:

    Assembly1

    Task1

    Subtask1

    Subtask2

    Task2

    Subtask3

    Subtask4

    Here it does not extend the model to all ranks, but adapted to the data. The number of tasks in an activity and the number of subtasks in a task are not fixed.

    Can someone tell me how to proceed?

    The code in my template:

    < div class = "complex" >
    < table cellpadding = "0" border = "0" cellspacing = "0" >
    < tr > < td #SOD # < table > < /tr > >
    < tr > < td #OOD # < table > < /tr > >
    < tr > < td #ACT # < table > < /tr > >
    < /table >

    < table cellpadding = "0" border = "0" cellspacing = "0" >
    Taak < tr > < th > < /th > < th > and Naam < /th > < /tr >
    < tr > < td > #TAAK # < other > Master Department: #AFD_CODE # < other > Bruno nummer: #BELMO # < other > planning: #PLANNING_LA # < table > < td #WN_NAAM # < table > < td > write subtaak/mijlpaal toe < table > < /tr > >
    < /table >
    < h2 > #SUBTAAK_OF_MIJLPAAL # < / h2 >
    < table cellpadding = "0" border = "0" cellspacing = "0" >
    personeelsleden < tr > < th > Subtaak/Mijlpaal < /th > < th > links < /th > < th > < /th > < th > Subsubtaak/Submijlpaal Aktie < /th > < th > links personeelsleden < /th > < /tr >
    < tr > < td > #SUBTAAK_ID # #SUBTAAK_MIJLPAAL_OMSCHRIJVING # < other > Duiding: #DUIDING # < here > Beleidsvlaggen: #BELEIDSVLAGGEN # < other > deadline: #DEADLINE # < other > status: #STATUS # < other > Nummer: #NUMMER # < other > Regelgeving: #REGELGEVING # < table > < td > quotation: #VERANTWOORDELIJKE # < other > Andere: #ANDERE_PERSONEELSLEDEN # < table > < td > < table > < td > submijlpaal Subsubtaak : #SUBSUBTAAK_SUBMIJLPAAL # < here > #SUBSUBTAAK_ID # #SUBSUBTAAK_OMSCHR # < other > Duiding: #SUB_DUIDING # < other > deadline: #SUB_DEADLINE # < other > status: #SUB_STATUS # < table > < td > quotation: #NAAM_VERANTW # < other > Andere: #ANDERE_PL_SUBSUB # < table > < /tr >
    < /table >
    < / div >

    Tell me if you need the SQL so and I'll post it.

    I am currently working with the test environment Oracle supplied us, because we test if we can use APEX in our company.

    The version is Application Express 4.2.4.00.07 and it is running on Oracle 11 g.

    Kind regards

    NDG

    I've added page 9 as a copy of your original state page and created 2 regions report on it. Two reports use your query, to which I added 3 analytical columns and an order by clause:

    ...
      , row_number()
          over (
            partition by op_activiteit.act_id
            order by  op_taak.taak_id
                    , op_teamplanning.subtaak_mijlpaal desc
                    , op_teamplanning.subtaak_id)                                   activity_rn
      , row_number()
          over (
            partition by op_activiteit.act_id, op_taak.taak_id
            order by  op_teamplanning.subtaak_mijlpaal desc
                    , op_teamplanning.subtaak_id)                                   task_rn
      , case
          when   row_number()
                   over (
                     partition by op_activiteit.act_id
                     order by op_taak.taak_id
                            , op_teamplanning.subtaak_mijlpaal desc
                            , op_teamplanning.subtaak_id)
               = count(*)
                   over (
                     partition by op_activiteit.act_id)
          then
            '
' else null end close_activity ... order by op_activiteit.act_id , op_taak.taak_id , op_teamplanning.subtaak_mijlpaal desc , op_teamplanning.subtaak_id

The activity_rn column numbers each line in an activity, the task_rn column number each line of a task, and close_activity generates a closing for the activity container tag div when a line is the final subtask for an activity. The order by clause for the command in the analytical columns is necessary to render the hierarchy of subtasks in task within activities.

The display of the Standard model uses the Standard model to show all data in the query and display the values of the new columns to illustrate how they are used in the model line Expressions. The display custom model shows the report using this template:

Model of line 1

#SOD#
#OOD#
#ACT#
Taak Werknemer Naam
#TAAK#
Master afdeling: #AFD_CODE#
Belmo nummer: #BELMO#
Planning LA: #PLANNING_LA#
#WN_NAAM# Voeg subtaak/mijlpaal toe

#SUBTAAK_OF_MIJLPAAL#

Subtaak/Mijlpaal Gelinkte personeelsleden Actie Subsubtaak/Submijlpaal Gelinkte personeelsleden
#SUBTAAK_ID# #SUBTAAK_MIJLPAAL_OMSCHRIJVING#
Duiding: #DUIDING#
Beleidsvlaggen: #BELEIDSVLAGGEN#
Deadline: #DEADLINE#
Status: #STATUS#
Nummer: #NUMMER#
Regelgeving: #REGELGEVING#
Verantwoordelijke: #VERANTWOORDELIJKE#
Andere: #ANDERE_PERSONEELSLEDEN#
Subsubtaak of submijlpaal: #SUBSUBTAAK_SUBMIJLPAAL#
#SUBSUBTAAK_ID# #SUBSUBTAAK_OMSCHR#
Duiding: #SUB_DUIDING#
Deadline: #SUB_DEADLINE#
Status: #SUB_STATUS#
Verantwoordelijke: #NAAM_VERANTW#
Andere: #ANDERE_PL_SUBSUB#
#CLOSE_ACTIVITY#

Status of model 1 rank

Founded use PL/SQL Expression

Expression of model 1 rank

#ACTIVITY_RN# = 1

Model of the line 1 is used for the first line of an activity, view activity information, its first task, and his first subtask.

Model of line 2

  
Taak Werknemer Naam
#TAAK#
Master afdeling: #AFD_CODE#
Belmo nummer: #BELMO#
Planning LA: #PLANNING_LA#
#WN_NAAM# Voeg subtaak/mijlpaal toe

#SUBTAAK_OF_MIJLPAAL#

Subtaak/Mijlpaal Gelinkte personeelsleden Actie Subsubtaak/Submijlpaal Gelinkte personeelsleden
#SUBTAAK_ID# #SUBTAAK_MIJLPAAL_OMSCHRIJVING#
Duiding: #DUIDING#
Beleidsvlaggen: #BELEIDSVLAGGEN#
Deadline: #DEADLINE#
Status: #STATUS#
Nummer: #NUMMER#
Regelgeving: #REGELGEVING#
Verantwoordelijke: #VERANTWOORDELIJKE#
Andere: #ANDERE_PERSONEELSLEDEN#
Subsubtaak of submijlpaal: #SUBSUBTAAK_SUBMIJLPAAL#
#SUBSUBTAAK_ID# #SUBSUBTAAK_OMSCHR#
Duiding: #SUB_DUIDING#
Deadline: #SUB_DEADLINE#
Status: #SUB_STATUS#
Verantwoordelijke: #NAAM_VERANTW#
Andere: #ANDERE_PL_SUBSUB#
#CLOSE_ACTIVITY#

Model 2 Condition

Founded use PL/SQL Expression

Model 2 Expression

#TASK_RN# = 1

Model of line 2 is used for the first line of a task that is not the first in an activity, displaying the task and its first subtask.


Model of line 3

  

#SUBTAAK_OF_MIJLPAAL#

Subtaak/Mijlpaal Gelinkte personeelsleden Actie Subsubtaak/Submijlpaal Gelinkte personeelsleden
#SUBTAAK_ID# #SUBTAAK_MIJLPAAL_OMSCHRIJVING#
Duiding: #DUIDING#
Beleidsvlaggen: #BELEIDSVLAGGEN#
Deadline: #DEADLINE#
Status: #STATUS#
Nummer: #NUMMER#
Regelgeving: #REGELGEVING#
Verantwoordelijke: #VERANTWOORDELIJKE#
Andere: #ANDERE_PERSONEELSLEDEN#
Subsubtaak of submijlpaal: #SUBSUBTAAK_SUBMIJLPAAL#
#SUBSUBTAAK_ID# #SUBSUBTAAK_OMSCHR#
Duiding: #SUB_DUIDING#
Deadline: #SUB_DEADLINE#
Status: #SUB_STATUS#
Verantwoordelijke: #NAAM_VERANTW#
Andere: #ANDERE_PL_SUBSUB#
#CLOSE_ACTIVITY#

Model of line 3 is the default, used model used to show the subtasks, following the first line of activities and tasks.

All models include the column #CLOSE_ACTIVITY # to automatically close the container activity, if the model is used to render the last subtask activity.

As stated above, I have concerns about the HTML structure you are here, but not knowing the application or data (not to mention the language!) I did not any changes that respect. After seeing the query, I've got so concerned about this (and the data model). It certainly looks like the query could be simplified.

Orders and paging should be carefully considered with a report at several levels and a model of this nature.

Users can apply ad hoc you place your order by clicking on the table headers, and a known order must be used to maintain the hierarchy of the subordinate task/activity/task. If you want users to be able to sort the subordinate activities/tasks/tasks, you will need to provide some sort of additional control to enable them to clarify this and use the order specified in the conditional line template mechanism as well as the order of global report.

Pagination of the APEX is problematic where a single physical line in the results of the query is mapped to multiple logics 'lines' or levels in the layout of the report. The simplest approach is to use no paging and build the application to apply filters to report so that the result set does not contain an excessive number of lines.

  • I get it during the installation of the first elements 13 ' the product you want to install is not a genuine Adobe software and appears to be counterfeit. Please report or contact customer support for assistance'

    I get this message when installing an upgrade of the first elements 13 ' the product you want to install is not a genuine Adobe software and appears to be counterfeit. Please report or contact customer support for assistance'

    Warning: "Adobe software real failure of Validation...". » | Windows

  • Customizing the Table of related products

    Working with a sensitive layout, I have a problem with the table of related products using the {tag_relatedproducts}. I got the layout of small product to respond well, but not when it appears in the productTable productItem table of the elements. Tips for each productItem stack, with every other compensation?

    Thanks in advance!

    Never mind. I simply applied the following CSS

    TR .productItem {}

    Width: 100%;

    height: auto;

    Clear: both;

    display: block;

    }

  • Display for custom templates (edit, extra, model) gradually closed. How can I re - open?

    Hi, the display area that shows the custom templates (edit, fill, model) gradually closed up to the point where it is just one line and I can't watch my models. Can someone tell me how to open it again, please?

    Reset your preferences. You can do this in the preferences UI ctrl/cmd-k.

  • Need help in the development of different customized reports for SCCM 2012 using the Report Builder version 3.0

    Members of the Group of respected

    I need your urgent assistance to solve my problem, if someone who at least somewhat or large information please help me.
    My problem is related to SCCM 2012 and SQL server 2008.
    : - I have to develop a custom reports for SCCM 2012 for one of my clients. I have configured all the settings required for preparing the report, and I have examples of reports provided with sccm 2012.
    I get the problem while developing new relationships, if I have examples of reports that I have studied the corresponding reports. I don't get detailed information from the database to create query and get the desired result. As I have not idea of detail of this database structure in it.
    So I need help to create the query as I am new on this database.
    If anyone understand please give me help or link where I can build the report
    Thanks in advance.

    Forums for this product are here: http://social.technet.microsoft.com/forums/en-US/category/configurationmanager/

  • I have a flow of money for a product that I had already bought...

    I have a flow of money for a product I bought already... currently I have two active renovations...

    Hello

    Contact the support team for billing related queries.

    Contact the customer service

    *Remember to stay signed with your Adobe ID ( email id used to purchase the subscription ) before accessing the link above*.

    Let us know if that helps.

    Kind regards

    BANI

  • Canonical URL for the product?

    What is the best way to manage the canonical URL for the products?

    The easiest way would be to use a template to be applied to these pages, but what module/tags should I use for a template that renders the URL?

    Thank you!

    Lynda

    Wait, as BC is working on the feature and hopefully coming out soon.

    If you can't wait then use custom field and the canonical tag in the presentation of the great product and manually paste the url in the url you want as primary.

  • Custom templates other than the standard in online store Modules?

    To all the gurus of BC...

    I came across this Web page today during a search and I'm curious. Can I really get a customizable individual produced large screen in addition to the standard in models of Module of Shopping? Which means, I can be operational with one product with one and another product using it?

    http://Knowledgebase.BusinessCatalyst.com/kb#/KB/layouts/custom-templates

    Thank you

    Chuck

    Hi Chuck,

    It seems that you hope to have possible several layouts for specific products which unfortunately is not available at this stage.  There are only 2 small product dedicated page and 1 presentation of great details.

    So eager to pack the product article to another model, you can assign the product element to a specific catalogue for the single model, but available would be consistent with what I noted above.

    Kind regards

    -Sidney

  • 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.

  • Maybe you are looking for