The patch for the module basic_cart to support additional fields views.

Provides the following row fields:

  • Link «Remove from cart»
  • Quantity (with links «plus» and «minus»)

Added global field:

  • Textarea with views tokens: @raw_price, @format_price, @raw_vat, @format_vat, @raw_total, @format_total

Added filter:

  • Product is in a cart

Screenshots: https://www.dropbox.com/sh/m7g9bgk7dgdjq31/rjEpIhzT3e

Please, review a work.

PS: Also added dependencies in .info-file
PPS: I'm using master branch for creating patch.

CommentFileSizeAuthor
additional_views_fields.patch14.89 KBdanSamara

Comments

norman.lol’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Thank you everyone for taking the time to report and discuss this issue. 🙇🏻‍♂️

As the Drupal 7 versions of this module are no longer supported, I’ll be closing this issue. 🔚

Huge thanks and credit to everyone who contributed in any way. ✨

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.