Custom Labels

Is there a way to print the label showing the Default price slashed out and our price in bold? 

8 comments

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 569 moderator
    Hey, @sacredheart926!

    Since the default price is your selling price (unless you set your shop to a different pricing level), could you clarify which price level you want slashed out and which price you want displayed in bold

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

  • sacredheart926sacredheart926 Member Posts: 24
    Hi I would like the Suggested Retail Price to be Slashed out and Our Price to be in bold 

  • sacredheart926sacredheart926 Member Posts: 24
    Also Would it be possible to have the notes section included on tag

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 569 moderator
    @sacredheart926 ;

    Regarding question about how to cross out the suggest price and make the selling price in bold, follow my instructions:

    Ensure that you are using Normal or Alternate label size or the MSRP won't show. To do this navigate to Settings > General Options > Printing > Label Size and then select the right one.

    Also ensure the MSRP price is higher than your default price on the item details.

    Insert the code from the label template from here: 

    Navigate to Settings > Advanced Setup > Print Templates > Add the template called + ItemLabel > add the code from here:

    https://github.com/merchantos/PrintTemplates/blob/master/label/customizable_label.tpl

    Then in the CSS Portion which begins with:
    <style type="text/css">

    Insert the code below:

    .label .price p.msrp {
    text-decoration:line-through;
    }
    

    Your default/selling price is already bold, however if you want to increase its boldness add this code after the declaration above

    .label .price p.saleprice {
    font-weight: 800;
    }

    Regarding adding notes onto a receipt:

    1) Labels are very small; what kind of information would you be intending to add on a label template and why do you need it there?

    2) If you need to add the notes this involves a non-trivial process of calling an API from the Item API to get the notes since the Label Template API doesn't display note information besides the NoteID.

    You'll need to use javascript to do this since this cannot be done in the access to Twig that you have.


    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

  • sacredheart926sacredheart926 Member Posts: 24
    is there a way to get the MSRP on Jewelry tag? 
  • siqbalsiqbal Member Posts: 1
    This is not working. Do I have to apply this template somewhere?
  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 569 moderator
    @sacredheart926 yes, ensure that the item for which you're printing for has a MSRP that holds a price higher than the default price. |f so then you add this code to the top of your CSS declaration

    .label.size220x50 .msrp { display: block !important;}

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 569 moderator
    @siqbal, can you send a screenshot of what you've done and where you're placing the CSS code.

    You need to add this template to the Settings > Advanced Setup > Print Templates > +New ItemLabel and then add the template from here:
    https://github.com/merchantos/PrintTemplates/blob/master/label/customizable_label.tpl

    Then you add the CSS as detailed above

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

Sign In or Register to comment.