Closed (won't fix)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Cart
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2013 at 01:44 UTC
Updated:
29 Jun 2017 at 23:49 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedHadn't thought about it, honestly. The Cart and Checkout module are both basically UI modules geared toward helping users buy stuff from your site in a pretty standard fashion. I doubt we'd do it just to avoid Views dependence, as that's a pretty fundamental dependency of Drupal Commerce, but if there are other compelling reasons it could be a potential change for Commerce 2.x.
Comment #2
joshtaylor commentedAll the other components (and extra modules relating to commerce) don't require views to function.
Order / Order UI
Customer / Customer UI
Line Item / Line Item UI
Payment / Payment UI
Product Pricing / Product Pricing UI
Product / Product UI
Tax / Tax UI
Shipping / Shipping UI
Commerce Coupon / Commerce Coupon UI
I know a couple aren't core commerce modules, but still.. :)
I'm using Drupal Commerce as a framework for eCommerce with Drupal and have found it to be fantastic.
I'm willing to take the challenge to remove the Views from Cart and split it into Cart UI - these can both be enabled if the user wants to use Views otherwise disable as needed.
I don't have a very good outlook towards Views.
Comment #3
bojanz commentedWhat Ryan is trying to say is that the thinking so far has been that if you don't want Views, you'll write your own cart module, it's a very thin layer on top of orders.
Comment #4
joshtaylor commentedI've just ran into the same issue today with Commerce 1.x.
One of the issues I have with implementing Commerce Cart into its own separate module is that rules that rely on Commerce Cart no longer work.
edit:
I am willing to decouple the module into UI and non-UI.
Comment #5
bojanz commentedAt this point in the 1.x cycle, it's too late for such a change.
Furthermore, we've mostly given up on the idea of "UI modules".
If you need the cart logic you can keep the cart module enabled but alter out the views and menu links.
Comment #6
bojanz commented