1

How can you add the 'AddThis' sharing buttons to a Drupal Commerce checkout page?

I tried adding an AddThis field to the product content type as I do for the other content types to wish I want to add this module but that doesn't seem to add it to all the pages in the Drupal Commerce checkout process.

If anyone knows how to do that that would be great. Thanks!

  • If you want it to be on the checkout, you probably want to add the field to the commerce_order entity, not the product. Store > settings > order settings > manage fields. Those fields are more likely to show on the checkout pages. – Neograph734 Dec 14 '15 at 23:35
  • Thanks for the suggestion...I had some trouble with this method so I just made sure the default AddThis block was also loading on other pages such as checkout/* – Sage Dec 15 '15 at 10:09
2

As you discovered in your comment, the recommended approach would be to have the AddThis block show up on the checkout/* pages. The question is: what are you sharing, exactly?

If you're wanting to include the sharing process as part of checkout, a new, custom pane would be the best place for this.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.