All Questions
97 questions
-1
votes
1
answer
55
views
VAT price will be 25% of product 'subtotal price and shipping price' instead of only 'subtotal price'
I am working on a Drupal commerce site. Everything is working fine as per my requirement. But I have to modify some setting for checkout preview page (price detail table).
Currently into the product ...
1
vote
1
answer
82
views
Why doesn't $query->hasTag() work with this view?
Below I have a View. I have the following hook. I'm hoping to modify the WHERE clause of the view, but the following code seems not to be called.
function jch_utilities_query_alter(...
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 ...
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 ...
0
votes
1
answer
503
views
Adding a product field to cart summary in views
I have a product image and product description as fields in the product entity. I want to add them to the cart summary displayed in the checkout, specifically it's the view "Shopping cart summary"
I ...
1
vote
1
answer
670
views
Why my query string generates page not found for my view?
In Drupal 7 I'm using a view export to download information for my orders.
If i go to the default url /admin/commerce/orders then the page downloads correctly.
However, I also have some filters so I ...
0
votes
1
answer
1k
views
Change text displayed when cart is empty
I'm using Drupal 7 with Commerce and I'd like to change the text shown when the user visits /cart and they have not added any items, from the default "Your shopping cart is empty." to a custom message,...
2
votes
1
answer
1k
views
How to configure Facet displays that comes with Commerce kickstart
Commerce kickstart comes with some filtering when viewing all the products, I do not have idea how to make my own facet displays, and I cannot find anything in the drupal configuration about facet ...
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 ...
0
votes
2
answers
120
views
problem with Views module (installation)
I had a views page created on my site and it seemed to work well. Then I started to update some of the modules that updates wre available for and then all of a sudden, my views module didn't seem to ...
0
votes
0
answers
79
views
Display the 'commerce_user_orders' view in node
I'd like to display the table on the Orders page made by Drupal Commerce on another node along with other content. I believe this table is the commerce_user_orders view so I have tried using the ...
3
votes
2
answers
3k
views
How to display only one Commerce product variation in Views?
I have a view which displays the list of all Commerce Products on the site. The problem is that it displays variations as separate products.
I've tried:
Enabling Views aggregating checkbox
Creating a ...
0
votes
1
answer
235
views
Cannot access commerce order relationship in Add relationship form in Drupal 7 Views
I have Drupal commerce installed on a Drupal 7 website. I needed to create a view of users and wanted to display the product type they had purchased along with the user name in the View. However I am ...
0
votes
0
answers
30
views
Views get node which created entity?
I am using commerce, which has products as entities. I have each product as a main node (which has title, URL, body, and other basic stuff) then I have a field which references products (price, SKU, ...
2
votes
1
answer
68
views
Alter view data return?
I am wondering if there is a way to do the following.
I need to alter view return data and either remove entries or keep entires based upon running some PHP.
Is there any easy way to do that? I was ...
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.
0
votes
1
answer
51
views
Link product variations to its own pages (e.g. blue hat to blue hat variation, etc.)
I have a product display of two t-shirts variations, one is blue color and one is black. I also use it in Views Slideshow, to show it in front page.
The problem is that both variations link to the ...
0
votes
1
answer
95
views
Views gives wrong path
I use Drupal Commerce module and Views Slideshow. In Fields I have this (Products referenced by field_product) Commerce Product: Product Image field and in Relationships Content: Product, it is an ...
1
vote
1
answer
262
views
commerce_display_path is relative and doesn't work from Order page
I'm trying to create a link from the Order view back to the product page so a customer can order it again. I've added a field to the view to load commerce_display_path (and set it as hidden) then ...
1
vote
2
answers
329
views
How to exclude product variations from product teaser display?
I am developing an online shopping website using Drupal Commerce.
In my products teaser display all my products variations are also shown. I want only the main product to be displayed and not its ...
0
votes
1
answer
1k
views
Disable breadcrumb on View in Drupal Commerce Kickstart
I am using Drupal Commerce Kickstart. I have been able to disable the hard coded menus by this advice - specifically my own post at the bottom. Unfortunately this has not disabled the breadcrumbs on ...
0
votes
3
answers
914
views
How to access Views administration in Commerce Kickstart 7.x-2.9
I can't seem to get into the Views administration panel from any place in Commerce Kickstart 7.x-2.9. There is no menu entry even with Administration menu installed. Trying to configure via the link ...
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 ...
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
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 ...
4
votes
2
answers
2k
views
Anonymous users cannot see listed Commerce products in a View with a relationship to product
Commerce products when listed in a View with a relatioinship to Commerce Products cannot be seen by anonymous users. I am using the Views Reference module in the product display and the View is not ...
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 ...
-1
votes
1
answer
713
views
Views is not linking images to content for anonymous users in Commerce Kickstart
I'm having this problem:
I'm using Commerce Kickstart 7.x-1.19 (also tryed on 2.x) and I'm trying to create a simple view to replace my homepage with a list of products, set the relation to the ...
2
votes
2
answers
118
views
Need help styling a field in a view
I am using D7 and subtheming the commerce kickstart theme.
There is a view named Collection Products. I have added a field to the view called Product category: Description (indexed) that pulls in the ...
0
votes
0
answers
151
views
Integrate custom content type with drupal commerce custom product, how?
What should / can I do if I want that:
The names of my custom content type in a select box as values of
that select box in my drupal commerce custom product
If any of the value is selected from there ...
0
votes
0
answers
76
views
Views block content hidden from visitor
I have created a view in a regular Drupal installation with the commerce modules requiered to run a web shop, so far everything is running smooth. I then create a couple of blocks to present the ...
2
votes
1
answer
225
views
How can I handle restricted items on a Drupal Commerce site with special display and checkout rules?
I'm about to undertake the building of a Drupal Commerce site that has special restrictions around purchasing some of it's items. Specifically these items will not have displayed prices and a sales ...
3
votes
1
answer
2k
views
Views Contextual Filters with Wildcards URLs
I have a view with two page displays. The first page uses a contextual filter for the UID, which is provided with a default value for the user that is currently logged in to the site. One of the ...
3
votes
2
answers
5k
views
How can I list the current user's orders with Drupal Commerce?
I need a View which shows the list of all orders belong to the currently logged in user.
I looked at the Administrators Order View, there are some stuff with Commerce-Line Items but I couldnt figure ...
2
votes
4
answers
2k
views
Cant show Commerce Products in View on Taxonomy Term page
My Commerce Products (not Product Displays) have a term reference field. On a taxonomy term page I want to show all the products tagged with that term.
If I create a view to show prodcuts (which I ...
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 ...
1
vote
3
answers
2k
views
How to split Commerce Order: Shipping Address and/or Billing Address into different lines in Views
In a Views view that pulls out order information, I'm trying to put the Shipping and Billing addresses, but the addresses seem to be all joined up, and there's no way to split them into different ...
1
vote
1
answer
282
views
Fetch customer profile in a component rule
I'm working on a multi-lingual webshop and I'm trying to create a system for commerce where an admin can accept or reject orders. I've done this by creating a view that lists all pending orders and ...
5
votes
1
answer
2k
views
Configuring Commerce in an existing drupal install
I'm running drupal 7 and would like to add the Commerce module to my site and am having problems with basic functionality. I've created a product display with views, but I'm unable to figure out how ...
0
votes
1
answer
1k
views
How can I sort a product display view by product popularity
I'd like to sort a view of Commerce product displays by their popularity (not too bothered by the specifics of how this is calculated). I found a comment by Ryan Szrama that implies it could be ...
1
vote
1
answer
206
views
Commerce + Views: Distinct on Referenced Product not working
I have a Product Display node view which ignores distinct on the query. The goal is to avoid displaying multiple product displays which refer to same Product SKU. I created a relation with the ...
0
votes
1
answer
290
views
Repeat view entry for each value of multivalue field
I am using commerce module in D7. Each order can have a single line item, but you can have whatever quantity you like in that line item. For each item of this quantity I store a text value that is ...
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 ...
2
votes
3
answers
3k
views
Product display and taxonomy term ID filter (with depth)
I have a view for nodes that show my products by product reference field.
All of these products tagged with "Catalog" vocabulary.
I have added a reference to the field_product in the view.
Is there ...
2
votes
1
answer
258
views
How can I implement a form into a DC view footer?
I am trying to make a shipping quote module for Drupal Commerce (DC) and I am trying to do it within the DC cart view footer by sending a form within a view.
I have done quite a bit of research and ...
3
votes
1
answer
3k
views
Use relationship for Views taxonomy term filter
I'm using the Commerce module, and I'm trying to create a view that displays the nodes with several exposed filters that should apply for the products.
Now, the node has a term field that references ...
16
votes
1
answer
2k
views
View commerce product image and price fields
In Drupal 7 commerce I ran into a problem.
I want to display the latest 3 items placed in the show_product content type, with attributes from the store. There are several entities in the store, ...