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.

3
votes
1answer
362 views

Why would Craft Commerce only be using the dummy gateway?

This maybe an obvious one but I thought I should document it here. After purchasing Craft Commerce and enabling your payment gateway of choice after disabling the dummy gateway, payments are still ...
9
votes
1answer
359 views

Using Commerce to pay for posting entry

I'm trying to figure out how to do the following: Person registers as new user User creates a new entry with a front-end entry form Entry is saved as disabled so it's not publicly visible User has ...
5
votes
1answer
1k views

How can I update custom order fields in the frontend

I am struggling with using additional custom order fields. (Added in the Craft Commerce settings at "order fields", in the field layout manager) I try to update them like this in the checkout process:...
0
votes
1answer
171 views

How can I make a product field required?

I have a drop-down of variants of a product. For example t-shirts: {% for purchasable in product.variants %} <option value="">Select</option> <option {% if purchasable.stock &...
0
votes
1answer
578 views

How can I have more than one product on the same page?

Using Craft Commerce, I would like to offer more than one product on my _entry template. For example, let's say I am selling a wagon. I have a drop down of variants for color: <label>Choose ...
1
vote
1answer
53 views

How can I pre-select a product variant based on user profile?

I have a product variant that a user can choose from. It looks like this: <select name="purchasableId" class="form-control"> {% for purchasable in product.variants %} <option {% ...
1
vote
1answer
354 views

Custom Labels for Address Fields Craft Commerce

I need to be able to assign and output my own custom labels for the fields that are in the shipping/billing addresses during checkout in Craft Commerce. I've already done so on the form like so: {% ...
0
votes
1answer
300 views

Test for specific or multiple product variants

I'm trying to test if a product has multiple variants AND/OR test for specific product variants. {% if product.variants|length > 1 %} That does not seem to work, even if it is a non-variant ...
0
votes
1answer
430 views

How can I get the current user who purchased a product from the onOrderComplete event?

I have a plugin that is listening to the onOrderComplete event within commerce. I am able to get the email address like this: craft()->on('commerce_orders.onOrderComplete', function (Event $event) ...
1
vote
0answers
177 views

Dynamics Nav 2015 (Navision) integration

I'm looking for advise and a strategy for integrating Dynamics Nav 2015 with Craft Commerce. I realise this is a broad question and a hard one, certainly since Craft Commerce has only been recently ...
3
votes
1answer
199 views

Edit order from backend

Is it possible to add products and discounts to an order from backend? From what I see it's only possible to edit the orders custom fields.
1
vote
2answers
859 views

How do I select a specific product variant by element/field/entry?

Excuse my new-ness, but I'm having an issue with product variants. Scenario I have a product with multiple variants (up to 30 in fact). Based on the URL, I want to choose a specific variant so that ...
1
vote
1answer
279 views

Can't duplicate a product in Craft Commerce?

I can't seem to find a way to duplicate a product in Craft Commerce. I've duplicated articles before, with the "save as new" feature... But can't find anything similar for products. Does such a ...
0
votes
1answer
227 views

Craft 2.5 plugin sub navigation icons

I notice that you can add icons for your sub navigation. However looking at the template for the subnav loop there isn't any markup to render that icon. Anyone know if this is coming in the future or ...
5
votes
1answer
769 views

Managing a large number of Variants in Craft Commerce

I'm currently building a site for a client who's products vary in price depending on the width / height selected. Essentially what this means is each product has around 70 possible variations, each ...
1
vote
1answer
200 views

Craft Commerce - No closure name “Customer”

I am taking my first real stab at working with the commerce beta. This plugin is pretty fantastic btw - awesome job guys. I can't comprehend all of the tiny details that went into this considering all ...