Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-craftcommerce]

Use this tag for questions relating to the Craft Commerce product.

1
vote
2answers
41 views

Is it possible to update multiple cart items?

To be more specific I would like to add an "update cart" button so that the visitor can adjust the quantity of multiple cart items without having to click on "update" for each cart item.
0
votes
1answer
47 views

How do I send PayPal the Craft Commerce Order Number?

The client is using PayPal Express for the payment gateway. When orders are placed, Paypal shows the ID for the order, not the Order Number. Is there somewhere I can change that?
1
vote
0answers
44 views

Filters using multiple query strings with pagination and Craft Commerce

I want to build the ability for the user to be able to filter by certain categories when browsing an existing category. As well as this I would like the user to be able to control the ordering of ...
1
vote
1answer
157 views

Craft Commerce payment gateway: general info requested

one of our clients requested us to create a global webshop for their business. We have little experience with webshops and as we are avid fans of Craft, we'd like to start on this project with Craft ...
1
vote
1answer
16 views

How to render a state abbreviation in Craft Commerce?

Folks, this has to be easier than I've made it. In a front-end template, how do you grab a state abbreviation from a customer's address in Craft Commerce? {$ set addresses = craft.commerce.customer....
1
vote
1answer
20 views

Sales prices on items

Is it possible to have both the standard price and sale price visible on the items tiles on a website? I would like to have both prices visible and wanted to know if this was doable .
1
vote
2answers
169 views

Craft Commerce — Billing / Shipping Address validation / required Fields

As default Craft has only First Name and Last Name as required. Is it possible to set more as this two fields as required fields? And is it also possible to set custom Fields as required too?
1
vote
1answer
37 views

Is there a way to change prices

Is it possible to reduce and increase prices on all products at one time by a specified amount or percentage without having to manually do every product. That must be visible to the customer and not ...
0
votes
0answers
18 views

Reducing number of queries for craft()->commerce_variants->saveVariant($sku)

Is it possible to reduce the number of queries for saveVariant ? craft()->commerce_variants->saveVariant($sku) This line adds 26 queries. When adding multiple variants at the same time this ...
1
vote
1answer
25 views

Is there a way to know if a discount is going to be applied on a product?

I have set up a number of discounts using Craft Commerce. Those discounts apply to specific groups of users and types of products. Is there a way to know inside the template, if a discount is going ...
0
votes
0answers
7 views

Show sales price to all visitors although price applies to specific group

I'm building a shop using Craft Commerce Pro that offers a discount to all registered members. For each product, I want to show all visitors both the full price and the discount price of each product ...
1
vote
1answer
71 views

PayPal Currency - Item bag total price does not equal the orders totalPrice, some payment gateways will complain

We are using PayPal standard as an option for payments which works in the main currency (GBP) but not in any of the others eg (CAD). We're seeing in the plugin logs for craft commerce: [Forced] Item ...
1
vote
1answer
52 views

Is there a way to get the URL of the localised version of a product variant?

I have a website that uses Craft Commerce and I'm trying to add a language menu that points to the localised version of each product variant as follows: {% set variantID = craft.request.getParam('...
1
vote
0answers
110 views

Craft 3 / Craft Commerce Installation - Can't see products

I recently tried to install Craft Commerce onto Craft 3. I installed the plugin via the plugin store and added in the templates folder which I downloaded straight from https://craftcommerce.com/ and ...
2
votes
2answers
80 views

Overriding BaseFrontEndController in Craft Commerce

Is there a clean way to alter the cartArray that is returned when updating the cart through ajax? Which is defined in the BaseFrontEndController Craft Commerce. For example by using a module? In this ...
1
vote
1answer
194 views

Subscription with Craft Commerce

I am using Craft Commerce v2 plugin with Craft CMS v3 with one of my site which basically sells kid products. It's a subscription website and ones some parent subscribe for any kids package, they ...
0
votes
1answer
44 views

Update Order Status action missing [closed]

Having an issue where the "Update Order Status..." menu option is not available on order list pages. This is true both for admins and for users who have permissions set to manage commerce orders. Any ...
1
vote
1answer
36 views

Adding file uploads to commerce product line items?

Does anyone have any experience with adding file uploads to the add to cart forms on product pages within commerce? I've seen some examples of users attaching them to orders (didn't work for me), but ...
1
vote
0answers
172 views

Craft Commerce 2: Adding subscriptions to cart

I am porting a Shopify "multi-site" to CraftCMS using Commerce and I need to be able to add subscriptions to the shopping cart (customers can subscribe to a monthly box), together with other products. ...
1
vote
1answer
29 views

Commerce categories issue

I am trying to develop an email commerce site that is easy for customers to navigate. The way that I would like to do it is so that I have a range of different parent categories and that when a ...
0
votes
1answer
114 views

Create order programmatically in Craft Commerce

I want to create order via code in Craft Commerce. How can I achieve that? Thanks in advance.
1
vote
1answer
85 views

How to save Order Status Message in Craft Commerce using frontend form

It's easy enough update the order status from the frontend using: <input type="hidden" name="action" value="commerce/orders/updateStatus"> <input type="hidden" name="orderId" value="{{ order....
1
vote
1answer
84 views

update existing cart via ajax creates new cart

Running craft cms 2 as a backend with react as the front end I am able to create a cart via an ajax post request to actions/commerce/cart/updateCart. However, I'm not sure how to then update that ...
1
vote
1answer
50 views

Customer info missing from email

Folks: The client receives an email with order details that include the customer shipping address. On a couple of occasions, though, the shipping details do not show. Notes: The email is delivered ...
0
votes
0answers
37 views

Is there a way to show lineitem has been removed from cart?

Does Craft Commerce has native functionality to show user when a lineitem has reached discontinuation? I see that the cart will remove item from cart if it has been disabled, but is there a way to ...
1
vote
1answer
40 views

Limit countries shown in checkout shipping to countries assigned in shipping zones settings?

Is there a way to restrict the list of countries available in the checkout shipping address select menu to the countries assigned in the shipping zones?
1
vote
2answers
60 views

Partial Order Fulfillment

Is it possible to fulfil orders partially? For instance when only two of four products are in stock, would it be possible to ship the two items immediately?
1
vote
1answer
52 views

How I am supposed to send product data to stripe for web hooks?

How I can add data to craft commerce stripe product while ordering, Actually I have used stripe webhooks so need meta data to identify the products
1
vote
1answer
33 views

add text or image to Craft Commerce confirmation email through the CMS

I have a customer that wants to modify the order confirmation email. I set up a new Entry for order confirmation to include a content block that goes to the email/email_confirmation file. When I ...
1
vote
1answer
155 views

Placing a Test Order (Craft Commerce)

This is a really basic question but I have had trouble finding an answer, or documentation on it. What is the best way to place a test order with a default Craft Commerce installation? I'm unable to ...
0
votes
1answer
38 views

Craft Commerce Negative Stock

Is it possible to set up and manage stock in Craft Commerce even if a product stock goes into the negative? The current commerce project I'm working on is open to the public so anyone can add items to ...
1
vote
0answers
33 views

1 free shipping item in cart, minimum shipping fee still applied

I understand why it is happening, but I'd like some help figuring a way around it. I suppose its probably a plugin. I'm using weight based shipping calculations and its all fine. Except when I have ...
1
vote
1answer
64 views

Can I set shipping rates based on order value?

I'm trying to set up shipping rates the client used prior to Craft Commerce. So for example, if the cart total dollar amount is: 0.01-$35.00 rate = $21 35.01- $170 rate = $39 170.01-$275 rate = $44, ...
1
vote
2answers
233 views

How can I install Craft Commerce 2 alpha release?

I tried following the installation instructions here: https://docs.craftcms.com/commerce/v2/installation.html When I run composer install craftcms/commerce, it says: Invalid argument craftcms/...
1
vote
2answers
90 views

Link to the product from the shopping cart

Is it possible to link to the product from the shopping cart? Something like {{ item.url }} within cart.lineItems When using {{ product.url }} looping through craft.commerce.products I am getting a ...
1
vote
1answer
45 views

Commerce: Is shippingZone available as a variable on the shipping method selection template?

On the template for choosing shipping method, I need to be able to remove/hide some shipping methods from being shown, based on the shipping zone that has been set by Craft, which is based on the ...
2
votes
1answer
31 views

Craft Commerce - Different confirmation email address for different product types or category

On a website I will be setting up there will be different ranges/types of products. Basically purchased from different departments within the organisation. I can filter the products in different ways ...
0
votes
0answers
69 views

Quick view - cart sidebar

I would like to ask, if any one can provide some instruction on how to build a "quick view - cart sidebar" with basic parameters such as: Item Name - Price - Quantity - Remove/Add - Total Price - ...
1
vote
1answer
36 views

Discount Code applies to cart successfully but doesn't do anything. Am I missing something?

Standard 10 dollars off discount setup. Although it says it is applied, it doesn't give me any kind of a discount. None of the discounts work, I've made multiple and tried different options but it ...
1
vote
1answer
86 views

Eager load Imager transforms in Craft Commerce

I am using Imager to create my image transforms. I am on a category page and I want to list all of the products. I did a quick .with(['cf_shop_assets']) optimization and wanted to continue with the ...
2
votes
1answer
80 views

Commerce: Is there a way to use a countries dropdown with iso codes (US, CH etc) instead of ids?

Here's some code from Craft Commerce's examples: <form method="POST" accept-charset="UTF-8" class="ui form validate"> {{ getCsrfInput() }} <input type="hidden" name="action" value="...
0
votes
0answers
23 views

Is there a way to turn off a language in Craft Commerce?

I have a site that serves German content. Now we have an admin that wants to have the backend in English. So I've added English in the locales. This works fine for standard Craft things. But in ...
0
votes
0answers
27 views

plugin to show data of craft commerce products

Is there any plugin to view all products in Craft Commerce by client through Craft Client account? I have a lot of search on this but nothing find? Please help me about this.
1
vote
2answers
93 views

Fetching Customer firstName lastName

I want to output a list of all orders of all customers, including customers first name and last name. But can't get these two elements. What I have now is: {% set pastOrders = craft.commerce.orders....
1
vote
1answer
70 views

Unknown error occured?

When I install the Craft Commerce plugin on Craft CMS, I found an error "unknown error occurred". Please tell me about this error and how to fix it. I will be very thankful. I have a lot of google ...
1
vote
2answers
75 views

How do you show which Sale a product has applied in Commerce?

It's easy to know if a product has a valid Sale applied to it with product.defaultVariant.onSale - but how do you know which Sales are being applied to the product? How do you output that the product ...
2
votes
1answer
57 views

How can you allow users to create products in Craft Commerce

I want site members to login and create products in Craft Commerce, so the products they create should only be visible to them on the back-end, e.g, user (A) should login and view his products in ...
1
vote
2answers
155 views

Craft Commerce returned orders stock and refund handling

Is there a simple way to handle returned or partially returned orders in Craft Commerce? I'm building a site for a shop that has to deal with a lot of returned orders (woman's dresses). A very common ...
1
vote
1answer
53 views

Notes field only for certain product types

In my shop, I have two different kinds of products.type items and my products have variants. For one of products type, I would like to show the note field in the cart. My product types are: ...
1
vote
2answers
83 views

Dynamic asset subfolder path for Craft Commerce

I have a asset field where I would like to save the images in dynamic folders. The upload folder should be parsed for the Dropdown field values in a Matrix field. For a normal Dropdown field it works ...