All Questions
97 questions
3
votes
1
answer
97
views
How to make Shipping services available in Rules tokens (data selectors)? [closed]
I am using D7 and Drupal commerce, with a flat rate shipping service. In my country the VAT for both products and shipping costs must be included in the total VAT amount. But the only line items ...
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
0
answers
55
views
How do I create a view of all user accounts who have zero orders?
I would like to create a view of all users and their total Commerce orders particularly including all those who have no orders so that they can be filtered for. I found a related question that solves ...
0
votes
1
answer
46
views
Filter product displays by parent taxonomy term
I'm running a music store and have a taxonomy term field on products that that is used for the product's format. We tag the products from the following vocabulary.
Vinyl
140g vinyl
180g vinyl
CD
...
0
votes
1
answer
40
views
Multiple shopping cart view in cart page
I want to show shopping cart view in different style on mobile view .
how can I clone shopping cart view to show it on another format like unformatted list or what is your approach to show this views ...
1
vote
1
answer
85
views
How to navigate the URL after booking page
I have node content type for booking and created booking page in drupal 7 and same page is displaying error, confirmation and booking page. I am trying to split into three different pages(nodes) using ...
0
votes
1
answer
69
views
Drupal Commerce - Sort products in view priced lowest to highest
This seems like it should be super simple. I'm trying to sort my products by price (from lowest to highest) in my view, and no matter what I do, nothing seems to work. See below the setup of my ...
0
votes
1
answer
221
views
How to display Commerce Order Owner role in Views fields?
Using Drupal 7.58 and Views 3.18
I am simply trying to display Commerce Order Owner role on a View. Using the Commerce Order:Owner relationship, I have access to a large set of user fields and ...
0
votes
1
answer
51
views
One exposed filter with different values in one view
I've searched a lot for this one with no luck.
My problem is the following:
I have an exposed filter of brands (adidas, nike, etc). It is displayed as a block on the home page.
while entering the ...
1
vote
1
answer
35
views
Add a button in user orders view requesting info about current order Drupal Commerce 7
I have an automated e-shop in Drupal 7 and drupal commerce.
I am trying to add an action button in user orders view, which on "pressing" by every current user is sending email(alert with replacement ...
0
votes
1
answer
49
views
Adding 'Add to Cart' to 'Collection Products' view
I want to add an Add to Cart button to my products when they are still in the Collection Products view (Category overview). By default, when you navigate to a category like /commerce_kickstart/product-...
2
votes
1
answer
162
views
Why is the Commerce product's price hidden in my view for Anonymous User?
I have a very strange problem with the Views and Drupal Commerce. I would like a list of products and their prices, but in the view - and ONLY in the view, the price is hidden for anonymous users. I ...
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
0
answers
28
views
How to delete the row item from a view table after purchase is done?
What I desire to achieve: I have a view where users can consult their payments inserting their ID. These payments will be displayed on a table, this table has a column with a "payment button". This ...
0
votes
0
answers
59
views
Display the weight of an order on the cart
I created a view that displays the weight of each product in my cart.
I multiply field quantity by field price unit.
I want to display the total weight of my cart.
How do you do this without going ...
0
votes
1
answer
2k
views
How to view search API raw sql query
can we get the raw SQL query based on the search API views?
Actually, the search result didn't return the result (sorting) in the way I need it to be done.
An example I have a product name "Bicycle ...
0
votes
1
answer
610
views
views - remove duplicates based on field value
Hi I have an order list created in views with 2 fields: order ID and order payment method. Each order can have multiple payment methods (every payment method gets own incremented id when attached to ...
1
vote
0
answers
231
views
Get the most recently viewed product variations (commerce product entity) in a View
Pre-requisite knowledge:
I have a view of type Content which is meant to list the most recently viewed product variations (commerce product entities that the product node references) first. I am using ...
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
0
answers
92
views
Quantity change after page change in Views with ajax
I'm showing products using Views and there is Ajax enabled, so I have ajax pager. Add to cart form with quantity is added in View as Product Reference field.
Everything is ok until I change page, ...
2
votes
2
answers
853
views
create an commerce order list view with payment method
I would like to create simple orders list with chosen payment method.
Problem: If customer goes through checkout process at once (without returning from checkout review and changing payment method) ...
2
votes
1
answer
61
views
How to make product views display also show up for Anonymous users in Drupal Commerce?
I created a Product listing view with Add to Cart Buttons. The view displays perfectly for the Super User, but it is not displaying for Anonymous or Authenticated users.I do have a relationship "...
2
votes
1
answer
239
views
view_get_views returns null
I have a module function which needs to get the raw results of a view, so I use this bit of code:
$view = views_get_view('sluitingsuren_bakker');
$view->preview();
return $view->result;
...
1
vote
1
answer
52
views
First display promotions in a view
I use the "discount" module, I created a view to display my products but I can not find how to display the products on sale first in my view
0
votes
1
answer
114
views
Views slideshow won't show "slideshow" display format (commerce kickstart)
My Views slideshow won't give me the option to show my content as a slideshow (when creating block or page).
I have Libraries, Views 3.X, Views Slideshow, Ctools, ... all the requirements and both ...
1
vote
1
answer
51
views
Title's will not show translated version (multilingual site) in View list
I am working on a multilingual drupal website (webshop with commerce_kickstart-7.x-2.37, drupal 7.43).
My articles are perfectly translated, even the titles. So when I go to the page of the article ...
2
votes
1
answer
49
views
In a view of products, add the word "Added" to all products already added to the cart
I have a view that lists all my products, I want to display the word "Added" below every product that has already been added to the shopping cart.
How can I accomplish this?
2
votes
1
answer
140
views
Commerce Line Item Taxonomy Reference Filtered by Product Selection
Here's the scenario:
I'm selling furniture. I have a chair we'll call Mission Chair.
The Mission Chair comes in oak or maple, both are priced differently. I have a field in my product
I have a ...
0
votes
1
answer
844
views
Use contextual filter global null to pass values to override field result
I come again with new question about Drupal Views and i hope you can help and explain me how to achieve this, I made a page view to display all my content (this works fine) with the following path:
/...
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, ...
6
votes
1
answer
1k
views
How to add multiple products to cart at the same time with attributes
I have different view blocks that display multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
1
vote
1
answer
197
views
New VBO bulk operation button not get translated
VBO button not translated issue.
I have created a new VBO bulk operation using rules component.
This is the button:
In Rules I have written the translation for this rule, in the translate tab of ...
2
votes
1
answer
84
views
Drupal Commerce product in-cart status info in Views
How can I use information in Views about whether a particular product is in this user's cart? Particularly, how many times into a Views row for that product?
For example, on a view listing available ...
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 ...
1
vote
0
answers
647
views
"Add to cart" form doesn't add products to the cart [closed]
I have an e-commerce site. In that, I have created product listing page using views. I have added the Add to cart field in the view, so every product in the view will have it. I have enabled view ...
0
votes
1
answer
255
views
Shopping cart delete button is not removing the correct line item.
I have 2 blocks on my shopping cart. The view block for the Main Product and another for the Specials ( which is an add-on), each block has their own delete button. I use a Views Field View on the ...
1
vote
0
answers
179
views
How to update parent price dynamically of product attribute? [closed]
I'm using Drupal commerce, Product attribute and Product Bundle. Each attribute (which is a product bundle) has it's own price, After selecting an attribute on a dropdown list it does not update the ...
0
votes
1
answer
309
views
How to alter commerce cart view to show custom line item data - either through UI or custom module
In a custom module I am adding data to a line item added to the cart like this:
$user_to_add =_get_user_by_ain($ain);
$product = commerce_product_load($product_id);
$line_item = ...
1
vote
0
answers
40
views
Count quantity of specific product in views
I'm using Views and Views Data Export to create a downloadable CSV of store orders logged in Commerce.
I want to create a column that counts the quantity for a specific commerce product (defined by ...
0
votes
0
answers
50
views
Change node display for purchased products
I am using Drupal 7 and Drupal Commerce, and i want to change the appearance of product display node when a user bought the product which he references.
For example :
1/ Product display before ...
1
vote
1
answer
378
views
Delete button not working in Checkout page
I created a Rule on event 'After adding to cart' to action 'Page redirect' to redirect straight to Checkout page (at /checkout) so it skips the Cart page.
The cart page by default has the Line Item: ...
1
vote
1
answer
138
views
One click upload setting not able to save
I want upload file enable to upload image from my system for that i have installed ONE CLICK UPLOAD plugin for drupal and using Ck editor. now i have to change preference setting for upload button but ...
1
vote
0
answers
126
views
drupal 7 'views'. Use the context filter to path 'directory /% /%'
Site Drupal 7 Commerce.
path pattern catalog category - 'category / [term: name] / [term: tid]'
To display the product catalog categories set view 'catalog_view' with parameters:
Page settings: path:...
1
vote
2
answers
187
views
More multiple add to cart buttons drupal commerce
I want to be able to have multiple add to cart buttons on 1 page for example for selling music like this. Example!
0
votes
2
answers
29
views
is there a way to know witch module is responsible to programmatically alter a view's query?
I have a view that diplays some orders with a filter by current user if he is owner of the order or not ..
If the current user is admin, i can see my orders with no problems.
If im logged in with ...
2
votes
2
answers
340
views
Drupal node "ranking" based on views sorting
I am creating a site where there are nodes (which are "causes") that users can donate to (i.e. buying a donation product using Drupal Commerce, which is sort of irrelevant, but just for the record).
...
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 ...
2
votes
3
answers
255
views
Sort a related products view based on product features
Hi I followed the intructions here for createa a view of related products for my commerce kickstart website, those related products are selected based on taxonomy vocabularies like texture, color, ...
1
vote
2
answers
75
views
D7 module for payment associated to a node?
I am looking for a D7 module that will allow users to make a payment that is related to a node. So let's say I have a content type called 'Events', and have lots of nodes in the 'Events' content type, ...
1
vote
1
answer
82
views
Search a product - Search API Module
I'm creating a e-commerce website, with a type of content "Products". I'm using Search API to be able to have Facets filters on my views. I linked the type of content "Products" to the search API. So ...