Announcement

Collapse
No announcement yet.

Gift Wrap and message solution

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

    Gift Wrap and message solution

    Hi everyone. Does anyone have a nice solution for gift wrapping in Sellerdeck?

    I have searched the forum and there seems to be a few articles, but nothing for several years... so I have either not found the right article or everyone has given up!

    In short - it would be good to offer gift wrapping as an option at checkout and also include a message if possible.

    In the past, it seems one option has been to add extra shipping options (without and with gift wrap), but how does the gift message get added?

    If anyone has a nice solution that works well, i would be grateful to hear it.

    We are using v18 and the Swift template.

    Cheers, Adam

    #2
    There is a solution here, although it can be a bit cumbersome if you have a lot of products with attributes:
    https://community.sellerdeck.com/for...ft-wrap-option

    You can use a product prompt to capture a message. You can't enforce dependency on the gift wrap option, however you can make that clear in the text, see eg the attached image
    Attached Files
    Bruce Townsend
    Ecommerce Product Manager
    Sellerdeck Ecommerce Solutions

    Comment


      #3
      I have adapted https://community.sellerdeck.com/for...iftwrap-option for swift:


      Can I add a giftwrap option?

      22-Nov-2009, 08:14 PM

      This trick will add a 'gift wrapping' product to your store, and include a link to that product in the shopping cart, so people can add it to their order.

      To begin, you need to create the giftwrapping product in your store. Create the product in an appropriate location (e.g. a new section called 'Gift Wrapping') and use the following settings:




      If you are automatically generating product reference numbers, you will not be able to enter a product reference of 'giftwrap'. You'll just need to make a note of the product reference assigned to the product.

      Next, you need to create a new layout for the shopping cart. To do this:

      1. Go to 'Design | Library | Layouts'.

      2. Expand the 'Checkout Area' group.

      3. Right-click within the group and select 'New Layout'.

      4. Give it a name of 'Giftwrap' and click 'OK'.

      5. Double-click on the layout to edit it and copy and paste the following code into the layout:
      The giftwrap layout in the 'Checkout Area' group now looks like this:

      Code:
      <!-- Gift Wrap list begin-->
      <table id="giftwrap" cellspacing="2" cellpadding="3" border="0" width="<actinic:variable name="ACTSTDWIDTH" />">
      <thead>
      <tr>
      <th><strong>Gift Wrap:</strong></th>
      </tr>
      </thead>
      <tbody>
      <tr>
      <td>
      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=giftwrap&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22HiddenFields%22%20%2f%3e%20%21%3d%20%22%22">&SHOP=<Actinic:Variable Name="HiddenFields"/></actinic:block>"><img style="valign:middle;" src="red-ribbon-bow.jpg" alt="Please click here to add Gift Wrap" />&nbsp;Please click here to add Gift Wrapping to your Order</a>
      </td>
      </tr>
      <tbody>
      </table>
      <!-- Gift Wrap list end-->
      Add this to the stylesheet:

      Code:
      #giftwrap > thead > tr > th {
      vertical-align: middle;
      border-bottom: 0;
      vertical-align: middle;
      border-bottom: 0;
      text-transform: uppercase;
      background: #3b7693;
      padding: 9px 15px;
      color: white;
      font-size: 14px;
      font-weight: 600;
      }
      Change PRODREF=giftwrap so "giftwrap" is the product reference of the giftwrap product.

      Click 'OK' to save the changes to the layout.

      Finally, you need to include the giftwrap layout into shopping cart layout.
      The easiest way to do this is go to ... and edit 'View Cart Page Shopping Cart Grid'.
      Add the following code in where required.

      <actinic:variable name="CheckoutArea" value="Giftwrap" />
      Click image for larger version  Name:	viewcartpageshoppingcartgrid.jpg Views:	0 Size:	159.2 KB ID:	554581

      See it here: https://www.gpxdev.co.uk/ship/ The add gift wrap prompt appears in the Shopping Cart

      To add the prompt to checkout as well, create another layout in 'Checkout Area' called 'Giftwrap Checkout'

      and add this as the layout:

      Code:
      <!-- Gift Wrap list begin-->
      <div class="checkout">
      <fieldset> <fieldset>
      <h2>Gift Wrap:</h2>
      <div class="checkout-field-label">
      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=giftwrap&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22HiddenFields%22%20%2f%3e%20%21%3d%20%22%22">&SHOP=<Actinic:Variable Name="HiddenFields"/></actinic:block>"><img style="valign:middle;" src="red-ribbon-bow.jpg" alt="Please click here to add Gift Wrap" />&nbsp;Please click here to add Gift Wrapping to your Order</a>
      </div>
      </fieldset> </fieldset>
      </div>
      <!-- Gift Wrap list end-->
      Then add <actinic:variable name="CheckoutArea" value="Giftwrap Checkout" /> between the coupon entry field and the terms and Conditions Agreed on Checkout 01.

      Click image for larger version  Name:	giftwrapcheckout.jpg Views:	0 Size:	93.4 KB ID:	554579

      Here is the image of the bow if you wish

      Click image for larger version  Name:	red-ribbon-bow.jpg Views:	0 Size:	2.9 KB ID:	554580
      Last edited by graphicz; 14-Sep-2021, 01:44 PM. Reason: Added quotes from original post for (I hope) clarity
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #4
        Thanks very much both, this is very much appreciated, and the tweaks for the swift template will be just what i need for our site. Much appreciated. I shall give it a go.

        Comment

        Working...
        X