All Questions
16 questions
18
votes
5
answers
9k
views
How to Filter view by comparing 2 fields. If field-a < field-b
I have a product content type that has 2 price fields.
I want to create a view that shows all products where price-A is less than price-B.
I was hoping I could just add a filter and select price-A ...
3
votes
2
answers
1k
views
Commerce - Views - Taxonomy - Add to cart issue
I am constructing an e-shop using Drupal Commerce. I've arranged my products in Categories and Subcategories using taxonomies and taxonomy-menu. All is nice till now. I also created a view, that ...
3
votes
1
answer
6k
views
Customize commerce cart form page
Task
I have been issued to alter the cart form view Shopping cart form (Commerce Order) on the site.com/cart page of the Drupal 7's commerce module. This includes adding extra choices such as sizes ...
2
votes
5
answers
4k
views
Hide Title for Rendered Entity views
In display modes I set to hidden all Title fields, but Views still gives h2 title.
2
votes
2
answers
757
views
What's the explanation for my product permission issue in a Drupal Commerce view?
I'm very confused with some permissions and product displays in Views. Maybe you can help me to understand it.
I'm trying to make a view of product displays. In the view I include a relationship for ...
9
votes
2
answers
14k
views
How does Views contextual filters work?
I'm trying to wrap my head around contextual filters again! I used it a while back but I just got totally stumped again. Here's what I'm trying to do:
Generate a cloned content node page with ...
3
votes
1
answer
228
views
Can a VBO form be integrated with the Commerce Add-to-Cart form to allow adding optional add-on products with checkboxes?
With VBO and Rules I can display a list of Commerce products with checkboxes and a button to add the checked products to the cart (see how).
Is there a way to integrate these checkboxes with the ...
2
votes
3
answers
2k
views
Content Translation : Language filter not available in views
I use a view to show a list of nodes flagged by a global flag (any user, any language) and would like to return only current language related nodes.
For that I should be able to add a filter in the ...
1
vote
1
answer
368
views
What data type to use for Commerce price field in a rule with a Views Loop (Views Rules)?
I want to create duplicates of some Commerce Products with the goal of giving these products a new Product type. With great help (How to change the product type of selected Drupal Commerce products (...
1
vote
2
answers
2k
views
How to create a simple shopping cart without Drupal Commerce or Ubercart?
I want to make a simple order web site for selling some poster. I don't need to add to basket or complicated order stuff. I need only list my posters in catalog view and when clicked one of them ...
1
vote
1
answer
1k
views
Different "Asc" and "Desc" labels for different Views exposed sort fields
I have a view of Commerce products that, as is standard for e-commerce product listings, can be sorted by price or by date. I'm having trouble with the sort direction labels:
In the context of dates, ...
1
vote
1
answer
535
views
Metatags and Commerce - pass taxonomy metatags to commerce product view
I have a Commerce Product view that pulls in products based on a taxonomy term in the url (category/taxonomy-term). This is done using relationships. Ideally, I would be able to edit metatags for ...
1
vote
1
answer
3k
views
Why view is not firing hook_views_query_alter?
I'm using Commerce Kickstart 2 and I want to modify the query of the included view collection_products.
As a start, I've added a mymodule_views.inc file with this code:
function ...
0
votes
2
answers
554
views
Print commerce pricing attributes to email receipt
Users cannot see what size or color shirt they purchased in the email receipt because tokens won't print the attribute fields provided by Commerce Product Attributes / Commerce Pricing Attributes / ...
0
votes
2
answers
163
views
How to add css class to specific rows base on fields in order commerce view page
I would like to add a class based on the field value I used in commerce order view. I have tried a solution from here I have installed "devel" module and already enabled it. However, I cannot find the ...
0
votes
1
answer
3k
views
Example of how to configure contextual filters with taxonomy using php arguments to display a view of commerce products?
Currently I am trying to configure view to display a grid of commerce products that matches a specific taxonomy term. This term is a term reference field in the product display. I also have a view ...