Suggestion and Idea for next release

Shawn Vesta-ShopShawn Vesta-Shop Posts: 1Member
It would be awesome if items for gift receipt could be selected with the same transaction. For example: Customer purchases several items but some are gift and some are personal. Choosing which ones go on the gift receipt vs doing several transactions would expedite the process and give better customer service.

4 comments

  • Adrian SamuelAdrian Samuel Posts: 548Moderator, Lightspeed Staff moderator
    Hey @Shawn Vesta-Shop i've written a script to handle this.

    In my existing template, after the following code

    {% if show_barcode %}
                    <p class="barcodeContainer">
                        <img id="barcodeImage" height="50" width="250" class="barcode" src="/barcode.php?type=receipt&number={{Sale.ticketNumber}}&hide_text={{ not show_barcode_sku }}">
                    </p>
                    {% endif %}
                </div>

    I insert this:
    <script>

     let item = document.querySelectorAll(" th.description > .line_description");

    item.forEach(function(item) {
    item.addEventListener('click', function(e) {
      const th = e.target.parentElement;
     const tr = th.parentElement;
    tr.parentNode.removeChild(tr);

      });
    });

    </script>

    An example of the script in action can be seen below:




    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

  • onlinepenguinonlinepenguin Posts: 20Member


    1. can't see pictures as you type in search bar on PC but can on ipad (which we love)
    2. consistency. use the field names when exporting so if you want to make changes and import back in you don't have to change the names of the headings
    3. consistency: why do you have brands dropdown and not vendors on ipad
    4. consistency: ipad search shows pictures as you limit the seach (we love this) why not the same for backend
    5. would LOVE to be able to select the fields of our choice on PO's and reports and not the ones that are default.


  • savvychicsavvychic Posts: 5Member

    @Adrian Samuel

    Could you please email me the coding documents and example for this? I cannot see it on this thread

    [email protected] or [email protected]

    Thanks,

    Lanna

  • Adrian SamuelAdrian Samuel Posts: 548Moderator, Lightspeed Staff moderator

    Hey @savvychic,

    The code appears in my reply, just after where I write:

    "I insert this":

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

Sign In or Register to comment.