1
Answers
Vote up!
0
Vote down!

Adding button to every line item at the checkout page

Howdy,

I want to have a button next to every line item in the summary of the checkout page. This button should take the user back to the product view of the product in the line item. Can I write a module that enables this sort of button and makes it available for views in the same way the "remove"-button is by default in the line item module?

Thanks,

Rikard

Asked by: Rikard Andersson
on August 13, 2012

1 Answer

Vote up!
0
Vote down!

This is very similar answer to one that I just submitted. You can edit the view for the checkout and add a column by adding a field. That field can link back to the page that they purchased the product on. The reason you can is that line items store the "display path" that the product was purchased on. Here's what the field is called in the Views interface.

Josh Miller
Answer by: Josh Miller
Posted: Sep 6, 2012