Liquid compatible order details page

I'm back again another question.

I'm trying to create a liquid active order details page, the list of commands is liquid-activated so it baffles me why this isn't too, but I digress.

In any case, I tried to use:

{module_data resource="orders" version="v3" resourceId="id" skip="0" limit="10" order="id" collection="Orders"}

{% assign OrderID = Orders.id -%}

{module_data resource="orderitems" version="v3" fields="orderId,productId,units,unitPrice,unitTaxRate,totalPrice,product,order" resourceId="{{Orders.OrderID}}" skip="0" limit="10" order="orderId" collection="OrderDetails"}

<pre>{{OrderDetails|json}}</pre>

But the only result that returns of OrderDetails is null.

Even using the resource = "orderitems" on its own without orders module_data and using a resource ID that is entered manually i.e. ResourceID = "355747" which is a known command ID, the result is only null

OK, this does not work, I understand.

But this is done (on the order details page)

{module_data resource = "orders" version = "v3" fields = "id, name" resourceId = "{{globals.get.ID}}" Skip = "0" limit = "10" = "id" = "myData" collection order "}

{{myData|json}}

{"{module_data resource ="orderitems"version ="v3"field ="orderId, productId, units, unit price, unitTaxRate, totalPrice, product, order"skip ="0"limit ="1"where="\{'orderId':{{globals.get.ID}}\} "order ="productId"="myData"collection}

{{myData|json}}

Tags: Business Catalyst

Similar Questions

  • I want to create the link (to each row) in my detail page &lt; &lt; &lt; &lt; &lt; in order, the articulation between (detail page 1 &lt; &lt; &lt; detail 2).

    I want to create the link (to each row) in my detail page < < < < < in order, the articulation between (detail page 1 < < < detail 2).

    Hello

    f9afc1ea-f5a4-4400-A33A-187e03664d82 wrote:

    I want to create the link (to each row) in my detail page< in="" order="" to="" linking="" between="" (detail="" page="" 1="">< detail="">

    Change your column on which you want to create the link

    go to declare attributes-> column change-> under the column link

    1. Select a text link (you have option available under the link text select one of these option)

    2 target - > application Page

    3 page-> page not on which you want to redirect

    If you want to pass a value then

    Item1-> select an item in the page detail2

    values-> that you want to move the page pos.1

    see this screen shot for reference

    Hope this helps you,

    Kind regards

    Jitendra

  • to view details of shpipping in the order confirmation page

    How to view the details of the shipping group and the group payment in the order confirmation page

    Hello

    It's so easy. You just have to get shippingGroups and paymentGroups (both are lists of items ShippingGroup and PaymentGroup).

    Example:

    will return a list

    will be returna a list

    After that, you can iterate over these lists and get the properties.

    Example:

    It will be useful.

  • On the detail page dynamic image gallery

    I have a page master listing 8 products. I inserted a picture gallery dynamic on the details page that looks ok, but has a major flaw: when you click on a thumbnail for the main picture opens on the wrong page. for example if you click on the page... dragons.php? id = 3 the main image opens on... /dragons.php/ID=1 and shows the following url:.../dragons.php?image=btf.jpg (or whatever the name of the image file).

    I have just started using php and I would appreciate some advice on how to solve this problem.

    The following are the relevant sections of the code?

    $vardragon_dragons_species = "1";
    if (isset($_GET['id'])) {
      $vardragon_dragons_species = $_GET['id'];
    }
    mysql_select_db($database_cjwebsite, $cjwebsite);
    $query_dragons_species = sprintf("SELECT dragons.Order, dragons.family, dragons.Latin, dragons.English, dragons.Img1, dragons.Img2, dragons.Img3, dragons.img4, dragons.Img5, dragons.text, `dragons gallery`.filename, `dragons gallery`.caption, dragons.id, `dragons gallery`.image_id, dragons.id FROM dragons, `dragons gallery` WHERE dragons.id = `dragons gallery`.image_id AND dragons.id=%s", GetSQLValueString($vardragon_dragons_species, "int"));
    $dragons_species = mysql_query($query_dragons_species, $cjwebsite) or die(mysql_error());
    $row_dragons_species = mysql_fetch_assoc($dragons_species);
    $totalRows_dragons_species = mysql_num_rows($dragons_species);
    
    if (isset($_GET['image'])) {
      $mainImage = $_GET['image'];
      }
    else {
      $mainImage = $row_dragons_species['filename']; }
    
    <body>
      
      <div class="main_image"><img src="../images/dragons/<?php echo $mainImage; ?>" alt="<?php echo $row_dragons_species['caption']; ?>" />
      <div class="capt"><?php echo $row_dragons_species['caption']; ?></div>
    
    <ul class="gallery">
            <?php do { 
                      
          if ($row_dragons_species['filename'] == $mainImage) {
                     $row_dragons_species['caption'];
                   }?>
      <li><a href="<?php echo $_SERVER['PHP_SELF'];?>?image=<?php echo $row_dragons_species['filename']; ?>"><img src="../images/dragons/thumbs/<?php echo $row_dragons_species['filename']; ?>" alt="<?php echo $row_dragons_species['caption']; ?>"  /></a></li>
      <?php } while ($row_dragons_species = mysql_fetch_assoc($dragons_species)); ?>
      </ul>
    

    Thank you very much

    CJ

    I think I see what is the problem. If I understand correctly, you get the thumbnails to the right when the page is loaded first from the master page, but not when you click on a thumbnail.

    What is happening now is that $_GET ['id'] is defined when the page reloads after clicking on a thumbnail. Thus, you must add the correct ID in the miniature link like this:

  • ?image=&id="><?php echo $row_dragons_species['caption']; ?>
  • Import/Export of master detail Page lose columns on the MRU

    When I export and then import my request, master details page loses column on retail MRU on Version 4.2.3.00.08

    I tried to import and export in the same environment and our development environment to production environment with all the application and just the page and it still loses the columns.

    It's the work insert debug statement

    ...... Rank 1: insert into "SHARED_INFRASTRUCTURE". "" CODE_GROUP_VERSION values ' ('CODE_GROUP_VERSION_ID', 'CODE_GROUP_ID', 'VERSION_NO', 'VALUE_SET_OID', 'DEFINING_ORGNZTN_VERSION_ID', 'REFERENCE_TXT', 'REFERENCE_DSC', 'EFFECTIVE_START_DT', 'EFFECTIVE_END_DT', 'STATUS_CD', 'CREATED_DTS', "CREATED_BY_USER_ID") (: b1,: b2,: b3: b4,: b5,: b6,: b7,: b8,: b9,: b10,: b11,: b12)

    This is the debug statement insert to import and export which does not work properly.

    ...... Rank 1: insert into "SHARED_INFRASTRUCTURE". "" The values CODE_GROUP_VERSION "("CODE_GROUP_VERSION_ID","CODE_GROUP_ID") (: b1,: b2)

    This is resolved.  There are two editable under conditional display reports and he used the second update report.  Changed to a single display report and he picked up the first editable report.

  • Master-detail - page updated

    Hi all

    I implement updated for logic with master-detail page.

    My expectations:

    Both master Vo and Vo of detail is executed with Set whereclause and line master and detail gets displayed.

    The two actions are required in the application process.

    Result:

    Executing query (even after call run the query for master and detail VO), master line get appears. Detail line is not displayed,

    However when the form application process is called (by clicking on the button Save), detail lines gets displayed.

    My logic to query example: (your have VL and EOs have AO)

    PR:

    Configuration where clause;

    XXAM.getXxcfirIcfUpMasterVO1 () .executeQuery ();

    XXAM.getXxcfirIcfUpDetailVO1 () .executeQuery ();

    PFR:

    The logic of adding new line-to-line in detail.

    Save button.

    Is there a way to show line main and details while that Page gets loaded through the application process and still not break the relation ship master detail since must be made on the update page.

    Thank you and best regards,

    Gauthier

    Hello

    See my post on master / detail to OFA:

    http://anilaltunkan.com/en/Oracle-3/Oracle-application-framework-Oracle/OAF-master-detail-page/

    Kind regards

    Anil

  • Why is it so f * hard Adobe when you need something? Order details: command #AD020044838 file is currupted.. Please correct or give me a refund

    Why is it so f * hard Adobe when you need something? Order details: command #AD020044838 file is currupted.. Please correct or give me a refund

    Please contact our support team so they can solve the problem with you - contact customer service

    Thank you

    Bev

  • In which table, card credit/order details will be recorded in the solid database?

    Hi people,

    In which table, card credit/order details will be recorded in the solid database?

    Hello

    Details of the command in DCSPP_ORDER and payment details to DCSPP_PAY_GROUP

    Kind regards

    Vincent

  • Could not see the iSCSI target in the adapters iSCSI software under Configuration details page

    Detailed description:

    After you add the IP address of the iSCSI target in the target iSCSI dynamic discovery Tab names can be seen under static discovery. But, iSCSI target is not considered as adapters iSCSI software tab Configuration details page.

    This iSCSi target is already mounted as a data store VMFS5 with some VMS on an another ESX which is part of the different ESX cluster in the same center of work data.

    thinking the im network configuration

    You vm kernel ports configured correctly?

    you use VLAN? If so see if your config of vlan is correct

  • with adobe reader 11.0.10 XL when I convert a docx to pdf pdf word out in reverse order of page

    When I convert a word docx to PDF the pdf come out in reverse order of page

    Hi OBEEWAN,.

    Please uninstall the reader XI & install the latest Adobe Acrobat Reader DC Acrobat Reader DC Learn & support, now, try to reproduce the problem.

    KB doc. to help help of Acrobat Reader | Export PDF to Acrobat Reader DC

    Kind regards
    Nicos

  • I need to order the pages... How can I do?

    I need to order the pages... How can I do?

    Do you mean you want to change the order of pages in a file? In Acrobat, you can drag and drop this page thumbnails.

  • I need a "last seen"an option in the product detail page. "

    Hi, I need of "last seen" an option in the product detail page to 'https://launch-26.myshopify.com/products/copy-of-blue-knotted-halter-top' which built in shopify. but Business Catalyst is not present. I need an idea to archive this 'the last time' option in British Colombia.

    You can do it with some cash and javascript:

    Adding a product viewed history

  • Only the forum like Adobe don't tie me to chat live w / Adobe support.  Receipt confirmation e-mail for the download of the new Photoshop CS6.  Go to Adobe story/order details, click on the download button, download JRun Servlet error: 413 header length t

    Only the forum like Adobe don't tie me to chat live w / Adobe support.  Receipt confirmation e-mail for the download of the new Photoshop CS6.  Go to Adobe story/order details, click on the download button, download JRun Servlet error: 413 header length too large.  Is my @%$et the loan order or not?

    For Error 413 - make sure that you are connected to the website of Adobe, have cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Get help from cat with orders, refunds and exchanges (non - CC)
    http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )

  • OPS matester detail page: how to have a "Display all" feature on the screen, so that all the master records and details are developed.


    Hello

    I was trying to get a function "SHOW ALL" on the master - detail page

    the detail table is a table of advancec.

    Please help me with entries on how to make the feature "SHOW ALL",

    Currently, you must click on ': show ' for each record to the master level to display the data of the child.

    Trying to reach 'Show all' then featured on click this key records on the page "expands" showiing master records with respective detail records.

    Concerning

    bhuvanm

    Hello

    You should not set DetailFlag = 'Y' in the whereclause, because there is no such record.

    Also detail flag are transitional attribute and not the query column, hence the error "invalid identification Code.

    I asked you to use DetailFlag as a column of query with the static value 'Y '.

    for example:

    SELECT 'Y' detail_flag

    Of

    This will display all the records in the table in expanded format. If you want conditionally then use decoding on some binding settings.

    For example:

    SELECT DECODE (: 1, "SHOWALL", "Y", "N") detail_flag

    Of

    This connection parameter must be passed each time you want to run the query for the table.

    Kind regards

    Sandeep M.

  • Show/hide media download on Web App Details Page

    Is it possible to display a Web App List View and detail to the public view BUT hide a download of media that is on the display page of detail behind a registration form protected area? The idea is that when people submit the form, they see download media.

    I have normally introduce visitors to the Web site with a list of items in the Web application view and hide the detail view behind a Secure area registration form. The disadvantage of this approach is to 1. potential subscribers are limited to the amount of info provided in 2 and the list view. You cannot advertise the link to the page to display the element a Web App detail which, in our situation, acts as a landing page to promote an e-book.

    Hey,.

    The best way to achieve this might be something in this direction:

    1. attach the download items support

    2. do not secure the webapps

    3. on the details page for webapp, using cash, check if the currently logged-on user has access to the secure area and if so list media download. Otherwise, display a form "register now to get access.

    Here's how to get the secure areas from which the current user has access to- the secure areas of the logged in user has access to that list

    Kind regards

    Mihai

Maybe you are looking for

  • iCloud payment

    Hello My iCloud account is full, I want to upgrade to 50 GB and it's impossibble to pay. I have a Visa Debit card that I know works for sure. Also for payments abroad, online and so on. Despite this, I got the message that my card info Visa is dimini

  • Re: Toshiba Satellite Pro L300 - 24L and support

    Hello I need help on my laptop, which was bought in France a few years ago.But the 24 L does not appear in the Toshiba laptop model available on the sites Web French.My serial number does not work also. Is this normal?I'm sure it's a French model, bo

  • Its problem - program uninstalled by mistake

    Hello, I uninstalled a program by mistake. Once I did this, all the bass disappear from the music, I play... No all it sounds like a radio station in the House... it isn't funny!Unfortunately I don't remember the name of the program, but I think (not

  • Cannot install the modem, fails and restores

    Please can you help me Please can you help me I have a high FUDJISU Tower, a bit old but still good features although sudenly it won't install my modem It will go almost all the way and it starts to pull back on the last piece! What can I do? Thank y

  • How to use the Live hi fi s head on sony xperia play

    Hi all, I bought a new sony ericsson live hi fi helmet of America last month, at the moment I buy sony xperia mobile s on this butterfly. Direct hi fi: head series is not working for xpeia, is there any adapter is avaiible in the Indian market, pleas