How to add a third-party array to cart

Highlighted
New Member
7 0 0

Hi,

I need to add an array to my cart.liquid, but am not sure where to put it. I know it needs to be a <form>, but if I add it above or below the default <form> it does not work.

It is basically an app that configures a product, then adds it to the cart. Their instructions say to add it as a form to the /cart page.

Here is what the code looks like that I am supposed to add:

Array
(
  [pricePointNumber] =>
  [finishedItemNumber] =>
  [cartDescription] =>
  [session_id] =>
  [year] =>
  [make] =>
  [model] =>
  [boxLength] =>
  [boxWidth] =>
  [boxHeight] =>
  [boxWeight] =>
  [productImage] =>
  [displayPrice] =>
  [staticVariable] =>
)

 

Anybody out there who can help me put in in the correct place so it will resolve? Also, any tags that might need to go with it (i.e.  <form action="/cart" method="post">
    {% for line in cart.items %}
        <!-- line_item info here -->)

thanks!!!

Sue

0 Likes