Drupal Commerce is an eCommerce framework and ecosystem built on Drupal 7.
1
vote
0answers
10 views
Implementating the Marketplace Fairness Act in Drupal Commerce?
The Marketplace Fairness Act was just passed which, if I understand correctly, means that Ecommerce sites have to add sales tax to all purchases based on the user's location.
My questions:
Am I ...
-1
votes
1answer
22 views
Drupal Commerce cart totals
How Drupal commerce is calculating total, sub total and order total and in which files I can find the code responsible for these totals?
1
vote
0answers
9 views
Sorting prices from 3 product line item types using views
My goal is to display a message like "Prices start from 13.34$" for every taxonomy term that I created. I have 3 product types with 3 product line item types. What I did until now and I'm stuck is to ...
0
votes
0answers
14 views
Commerce Order Invoice Shipping
I was working on the template for Commerce order invoice and looking at the items list it gives each item sans shipping si I have items totaling $6 but the total is displayed as $20 because the $14 ...
0
votes
0answers
13 views
Buy 3 Pay for 2 Campaign or Get 3 for the Price of 2
a block named "Buy 3 Pay for 2" shows random products from a campaign. when clicked read more... leads to a page with products in that campaign are shown. how do I make such a campaign? I'm using ...
0
votes
0answers
14 views
PHP snippet won´t work: unset() a commerce checkout pane with custom module
This D7 snippet won´t do anything in my code and I don´t know why:
<?php
function mymodulename_commerce_checkout_pane_info_alter(&$checkout_pane) {
foreach ($checkout_pane as $pane_name ...
0
votes
0answers
12 views
Pre-populating Drupal Commerce Checkout Page with Webform Data
I'm using Drupal Commerce and Commerce Webform to create a webfrom which when submitted goes to the checkout screen of a Drupal Commerce shopping cart.
The webform is used to collect several pieces ...
0
votes
1answer
21 views
Product Reference inside a Product Reference?
In my attempt to solve a "variation can update second variation" issue, I am wondering if a Product reference can go inside another Product Reference?
So that the 'Variation' itself has a product ...
0
votes
0answers
10 views
Drupal Commerce + Rules: How to insert each order´s customer profile info into profile2?
I´m using drupal commerce and Profile2 modules. I have some "customer profiles" fields in my orders, and I want the information inside those fields to be added to the profile2 of the new user that´s ...
2
votes
1answer
34 views
How can I get the order ID from Commerce (using Rules)?
I need to call a function upon successful completion of an order, and that function needs to know the OrderID that called it.
I have setup a rule
Event:
"Completing the checkout process"
...
0
votes
0answers
15 views
Only admin can see products page for Drupal Commerce
I created a subscription product with Drupal Commerce and commerce_sp modules. I then created a view to display the product subscription I want and as Administrator I can see the product on the ...
0
votes
0answers
13 views
why is the granted amount of commerce coupon is empty?
I'm using commerce coupon to create percentage coupons. I have two problems with the "commerce coupon review pane" which has been created with views. The first problem is that the view shows list of ...
1
vote
1answer
39 views
How to access the order total amount in Drupal commerce?
I'm trying to make a block with an image that would change when there is something in his or hger basket (empty basket image when basket is empty, full basket when it's full)
My understanding of PHP ...
0
votes
1answer
26 views
Is this snippet modification correct? (php snippet in a drupal commerce rule)
I´ve read about the possibility to use this snippet to hide a specific checkout pane (in Drupalcommerce), according to the cart contents.
Could I use this somewhat modified to hide a pane when the ...
0
votes
2answers
29 views
Load a variation (or Line Item) based a previous choice
I asked this similar question already (Variations price adjust based on previous variation), but I am thinking to make the solution more 'base'.
Is there a way to 'load' different fields based on a ...