Announcement

Collapse
No announcement yet.

Only 1 item per line in shopping cart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Only 1 item per line in shopping cart

    Hello all,

    I have looked for the answer to this everywhere but without any luck.

    Is it possible for the shopping cart/checkout (and invoice) to display every product on a single line rather than adding the quantity together?

    That is to say that if I order 1 product and go back and order the same product again, rather than totalling 2, I would like to have two separate lines of 1.

    Thanks
    http://www.TheLondonPoject.ca
    Located at Vancouver, Canada

    #2
    If the product being added to the cart is the same, i.e. same reference number then it will be shown as a single item times the number order in the separate quantities.

    The only time that this will differ is if the component/attributes selected on the differing add to cart actions are different.

    Comment


      #3
      Try this.

      Edit Cart.pm (back it up first) and look for the lines:-

      sub CombineCartLines
      {
      my $Self = shift;

      change to:-

      sub CombineCartLines
      {
      return;
      my $Self = shift;

      Norman

      PS test thouroughly.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Hi Norman,

        Thanks. So far testing seems to indicate that it works as expected.

        I have one other problem (not related to your code). I would like the first product on the page to always be listed first. Right now, some of the add-on products appear before the main product. How can I ensure that the main product is always listed first? I thought a refresh of the website might take care of it but, nada.

        Sorry but I cannot supply a URL as this site is for our authorised dealers only. The purpose of these cart related questions is to format the orders so that an EDI file can be imported smoothly into our Syspro ERP.

        Thanks again.
        http://www.TheLondonPoject.ca
        Located at Vancouver, Canada

        Comment


          #5
          I have one other problem (not related to your code). I would like the first product on the page to always be listed first.
          If you're talking about the Cart display I've no idea whether this can be done. Perhaps someone else.

          As this is a different topic; it's unlikely that others will see this unless they're interested in your original subject.

          Norman
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X