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?

Tags: Business Catalyst

Similar Questions

  • Check the contents of the shopping cart by using liquid

    With the help of liquid is it possible to check which elements are in the shopping cart? Can if so someone point me in the right direction?

    Basically what I want to achieve, it is when a page loads to check to see if some items in the shopping cart. If they are in the basket I do something if I do something else. If I can verify the quantities, even better.

    I always work to capture all the liquid. = >

    Hi Lynda,

    Take a look at this guide - guide reference - e-Commerce partner - it also supports the update basket 'on-the-fly"mentioned Robert.

    Let me know how it works.

    Thank you

    Mihai

    PS: On the page cart.html you can insert

    {{cart | json}}

    to see this other properties of carriage, you can access (as individual products and so on).

    At the moment but there are some areas which are 'digital', so this means that you cannot apply mathematical operations to most of them. This will be corrected in the future, see Bug: math liquid filters do not work with the data of the module

  • I'm paying for telephone folios and the 1800 number that is advertised on the shopping cart is not correct - what number I ring in Sydney, Australia

    I'm paying for telephone folios and the 1800 number that is advertised on the shopping cart is not correct - what number I ring in Sydney, Australia

    Do you mean you want to buy downloads additional folio? If so you are a Pro user or company, connect to your DPS dashboard and click on the "Contact Support" link at the bottom left

  • Remove the item from the shopping cart

    OK I tried of it worked for hours and it drives me crazy.

    I have a function that removes items from your cart:
    public void RemoveFromBasket(Key:int):void {}
    document. RemoveShoppingBasketItems.url = "" http://localhost/Flex/Personalised%20Palettes-debug/ShoppingBasket.php?Remove= " "
    document. RemoveShoppingBasketItems.url += key.
    document. RemoveShoppingBasketItems.send ();
    document. ShoppingBasketCount.url = "" http://localhost/Flex/Personalised%20Palettes-debug/Header.php "; "
    document. ShoppingBasketCount.send ();
    ViewShoppingBasket();
    }

    In my MXML I have a label that displays the number of items is in the basket, which is populated by the ShoppingBasketCount HTTPService. I call the setTotal function whenever the label is updated.

    < mx:Label
    x = '640' y = '4 '.
    Text = "Your Shopping Basket contains {ShoppingBasketRepeater.currentItem.@Total} Item (s).
    Color = "#FFFFFF".
    ID = "ShoppingBasketLabel".
    updateComplete = "SetTotal (event.currentTarget.getRepeaterItem () .@total)" / >

    And the setTotal function sets the Variable Total number of items in the basket:

    public void SetTotal(Number:int):void {}
    Total = number;
    document. TestLabel.text = Total;
    }

    Once the item has been removed from the shopping cart and the ShoppingBasketCount has to be transmitted, the RemoveFromBasket function is called:
    public void ViewShoppingBasket (): void {}
    document. TestLabel.text = Total;
    If (text). TestLabel.text == 0)
    {
    document. ShoppingBasket.visible = true;
    document. ShoppingBasketGrid.visible = false;
    document. ShoppingBasketHeader.text = "your cart is empty";
    document. ProceedToCheckoutButton.visible = false;
    } else {}
    document. ShoppingBasketItems.url = "" http://localhost/Flex/Personalised%20Palettes-debug/ShoppingBasket.php "; "
    document. ShoppingBasketItems.send ();
    document. ShoppingBasket.visible = true;
    document. ShoppingBasketGrid.visible = true;
    document. ShoppingBasketHeader.text = "shopping cart";
    document. ProceedToCheckoutButton.visible = true;
    }
    ToggleMenu (0);
    }

    However when I remove the last item in the basket so that there is no more items in the basket the basket displays an empty grid. The poster 0 ShoppingBasketLabel and the TestLabel 0. If I click on the link see the Shopping Cart it will show the shopping cart is empty. Why it shows me an empty grid and not your cart is empty message when I delete the last item in the basket?

    Any help would be great!
    Thank you
    Katy

    Yes, this value of 1 is what I was afraid of.

    According to your logic the updateComplete where you call SetTotal() I will try:

    public void SetTotal(TotalCount:int):void {}
    Total = TotalCount;
    ViewShoppingBasket();
    }

    in other words, if the Total is correctly updated it.

  • billing and shipping information on the shopping cart page

    Hello

    Can someone tell me if I can put the shipping and billing forms that usually go on the page of payment in British Colombia on the shopping cart page. What is the best way to impliment this. I can think of several ways, but they seem like wrapper work. BC this easily.

    At soon Daniel

    Hi Daniel, you can't.

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

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

    I inserted the {tag_productimage} tag in our shopping cart layout table. In accordance with the instructions in the following article http://kb.worldsecuresystems.com/654/bc_654.html? bc-partner I adjusted the height of .productitemcell in the Style sheet to be able to see the whole picture. However I have tried many elements of setting and nothing seems to align the {tag_productquantity} to sit in the iddle m of the cell as the rest of the information in the same row. Please see a screen shot here http://mychristmas.businesscatalyst.com/test This is a website, we are currently building http://mychristmas.businesscatalyst.com/

    Is someone can you please tell me what it is I have to settle for not having this field amount to sit at the top of the cell?

    Thanks in advance!

    Hello Erin,.

    Looks like if you give the .productitemcell a row height of 109px and then give 'input.cartInputText' high-margin of 44px all items in your shopping basket very well online.

    Hope this helps,

    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • How to customize the received email that the buyer receives the purchase to the shopping cart?

    Hello

    I've just set up a shopping cart at: http://www.themesformuse.com.
    When a command passes by, the buyer receives a receipt by e-mail.

    This receipt is very generic at the moment.
    The response email is set to "[email protected]".
    And I need to add some text to it.

    Where can I change this? I can't find it!
    Any help would be appreciated. Thank you!

    Jason

    I'm not link building! Has been a real question lol.

    In fact, I received a response from the Adobe Support:

    You can find this under Site Manager email template > system Emails > online store: invoice

  • not made in the invoice shipping labels

    Hello

    I have trouble getting the tags {tag_addressshipping}, {tag_addressbilling} and {tag_shippinginstructions} to return anything in my customer invoice. It is a basic ecommerce and purchase even after the adjustment of the order form page and the default invoice these tags are not displayed which is registered.

    The data entered in the fields of shipping and billing invented in the workflow notification sent to us for the purchase (but only in the section 'Summary of the web form submission', not the copy of the invoice).

    Could I have accidentally changed would encourage these tags don't not to contain data entered?

    help much appreciated.
    Thank you

    Thanks for the reply. I'll briefly explain what I did where everyone is looking to solve a similar problem.

    We wanted to offer two payment options - CC (via paypal) and EFT in offline mode.
    Tags Bill have not made because I tried to set up the 'Process offline' option in the section of payment gateway to address the latter of these payment methods. The process offline method, despite not not storing the details of credit card in British Colombia, requires credit card information to wear. I guess it's as well that it can encode to send in the PDF file.

    Instead, what I've done is change to the payment by paypal and all deleted payment gateway options payment in the registration except "Paypal" and "COD" model I have relabelled COD as EFT in the html code. In this way no credit card details must be sent, and an invoice is sent with all the correct details made.

    I have another question regarding changing the status of back-end for an order according to the method of payment, but I'll start a different debate since it is not directly related to this problem.

    Thank you.

  • How to make a checkbox I accept in the shopping cart

    I added an exchange policy to my shopping cart.

    1. I would like to add a checkbox that musbe be checked so that the extraction process can begin.
    2. I want an error window to explain that the box should be checked if it has not been verified and that the customer tried to verify.

    Can you tell me how can I do this?

    Here is a picture of what I want to do.  I need is the code in the box and the error code, and the code to prevent the Fund to start until the box is checked. I'm not very handy javascript but can cut and past.

    Thank you!

    agree.jpg

    Will be much easier and not messed with BC script if you on the payment form. Given that the form on the next page is a web form, you can add the checkbox field and all that manually and easily add that in so that the form may not be submitted without agreeing.

  • When I click on add to cart, and then on the shopping cart page I show quantity 2 even I select 1 .so wha

    Hi all

    in the list of products or the details of the product page when I selct 1 quantity and click on add to cart, and then page Shopping cart in the quantity text box shows even 2, I enter quantity 1. what question would you please tell me.

    Thank you

    Hello

    When you add to cart, you can see the quantity is added two times (for example if I add 3 the wagon goes to 3 then 6) and looking at your code it seems that you have onclick action

    for example (onclick =AddToCart(275761,5662250,'',3,true))

    attached to the time the tag and the tag where it adds the amount twice more that one tag and image tags are clicked.  Remove the onclick of one of them - I did it in Firebug for a tag and it worked.

    Hope that helps

    Steve

  • Conditional liquid do not print when the conditions are met.

    I build a simple menu in British Colombia and for the purpose of this project, I'm going to be exposing this menu without using Module of menu in British Colombia. I use the following code:

    {% If globals.user.isLoggedIn contains 'true' %}}

    < id = "my-account-link" li > < a href = ' / my account "> < i class ="fa fa-diamond"> < / i > < span class ="-animate "> my account </span > < /a > < /li >

    < id li = "settings-link" > < a href = "/ my account-#settings" > < class i 'fa fa-sliders' = > < / i > < span class = "-animate" > my settings </span > < /a > < /li > ""

    < id = 'link-support' li > < a href = "/ my account/help" > < i class = "fa-fa-question-circle" > < / i > < span class = "-animate" > support </span > < /a > < /li >

    < id li = "logout link" > < a href = "/ LogOutProcess.aspx" > < class i 'fa-fa-sign-out' = > < / i > < span class = "-animate ' > Log Out < / span > < /a > < /li >" "

    {% other %}

    < id li = "connection-link" > < a href = "/ login" > < i class = "fa fa-sign-in" > < / i > < span class = "-animate" > Login / / Sign Up </span > < /a > < /li >

    {% endif %}

    I have used before with other snippets of code and this liquid condition print very well. For some reason, when I test the newspaper, the State still shows the wrong code even when I look through the JSON printed in the console object and the object user loggedin contains the value Boolean 'true '. Sort of at a loss as to why it is not printing when the user connects. Really want to use liquid on it and do not have to revert to the version JS of the hiding items.

    Thanks in advance to all! Best wishes!

    Well, I feel stupid, I was following the copy and the tutorials BC and pasted. Realized that I had to use operators such as "is" appropriate and «!» = ». I fixed it now

  • jQuery not made on the secure page

    I have a jquery function in a payment page to switch between two different web forms (paid by check) and pay by credit card.

    It works fine on the page that is not secure...

    Marine girls choir | Payment for the new singer

    But does not work on the secure page...

    Marine girls choir | Payment for the new singer

    Any ideas what is happening here?

    .. .and then you will probably need to add ;return false; to the JS to keep the link jumping to the top of the page. So:

    showonlyone('newboxes1');return false;">

  • Is there a tutorial showing how to integrate a PayPal add to cart and set up the shopping cart

    Looking for an easy to follow tutorial on how to add, complete and integrate a button Add to cart and buy now button for PayPal. Preferably a step by step instruction.

    Hello

    Please check these posts for a similar description:

    Re: Add a shopping cart on a Muse site

    Re: Paypal add to cart

    Kind regards

    Aish

  • Tag not created after the upgrade from 9i to 10g

    We upgrade from 9i to 10g - time - and we hit some "unexpected."

    If I run
        SELECT  xmlelement("TestMsg",
                        XMLFOREST(m.tx_id   "MsgNum",
                                  m.tx_type "MsgTyp"
                                  ) MESSAGE -- this is the alias for the XMLFOREST item 
                        ) ut_xml
        FROM (select 1 tx_id, 'test' tx_type from dual) m
    on my 9.2.0.4 database, I get
    <TestMsg>
      <MESSAGE>
        <MsgNum>1</MsgNum>
        <MsgTyp>test</MsgTyp>
      </MESSAGE>
    </TestMsg>
    -an additional label is created according to the XMLFOREST item alias.

    on my 10.2.0.4 database, I get
    <TestMsg>
      <MsgNum>1</MsgNum>
      <MsgTyp>test</MsgTyp>
    </TestMsg>
    No MESSAGE tags.

    Some XML parsing we take into account this MESSAGE tag and so is now breaking.

    I guess my question is to know if we have messed up the installation of XMLDB or if 9i conduct was wrong and we should change the analysis of the behavior of 10g.

    The current behavior is correct, the old behavior is incorrect. Raising an SR will not help unless there is a very strong business case to ensure backward compatibility for the incorrect behavior in an event. Workaround are change code analysis to deal with the new format, or change the code that generates the XML code to include additional call to XMLElement

Maybe you are looking for