drupalcommerce / commerce-docs Goto Github PK
View Code? Open in Web Editor NEWCommerce 2.x documentation
Home Page: http://docs.drupalcommerce.org
License: Other
Commerce 2.x documentation
Home Page: http://docs.drupalcommerce.org
License: Other
Based on tag "commerce_order_summary"
Hi on admin/commerce/config/currency/add I need to guess what is the currency code.
Not select list is shown.
Why?
Thanks
When trying to create new store using the builtin drupal commerce
..\vendor\drupal\console\bin\drupal commerce:create:store
I get the error below
'..\vendor\drupal\console\bin\drupal' is not recognized as an internal or external command, operable program or batch file.
Following https://www.drupal.org/node/2859533#, we should have a page that shows how to customize the order receipt and advanced usages like this.
I think it would be great to give people an easy start with a video introduction.
https://www.youtube.com/watch?v=D9nBCP_tPlQ
https://www.youtube.com/watch?v=BmFFPozHKFU
https://www.youtube.com/watch?v=EQxA3VYal54
The page @ https://drupalcommerce.org/contribute should be updated with this repo for documentation and ways to support.
I killed the bundled RTD Theme JavaScript to stop some of the menu navigation behavior. Doing this broke the mobile slide out navigation.
We need an overview page for our payments section.
http://docs.drupalcommerce.org/v2/payments/index.html
"The default values are based on opensource 3rd party that has the best coverage of all {...}" -- missing a word. Should be "based on an opensource..."
The pics in address and zone have different admin menu orientation. Maybe should be the same
$form['recaptcha'] = [
'#type' => 'inline_template',
'#template' => '<div class="g-recaptcha clearfix" style="clear: both;" data-sitekey="{{ google_recaptcha_public_key }}"></div>',
'#context' => [
'google_recaptcha_public_key' => Settings::get('google_recaptcha_public_key', ''),
],
'#weight' => 100,
];
then
try {
$result = \Drupal::httpClient()->post('https://www.google.com/recaptcha/api/siteverify', [
'form_params' => [
'secret' => Settings::get('google_recaptcha_private_key', ''),
'response' => $_POST['g-recaptcha-response'],
'remoteip' => \Drupal::request()->getClientIp(),
],
]);
$result = Json::decode($result->getBody()->getContents());
if (!$result['success']) {
$form_state->setErrorByName('recaptcha', $this->t('Error validating you are not a robot.'));
}
}
catch (\Exception $e) {
$form_state->setErrorByName('recaptcha', $this->t('Error validating you are not a robot.'));
}
* not fieldable
from Attribute. Attributes are config entities and can be extended using the third party settings APIColor -> Red -> Red DrupalCon T-shirt -> DrupalCon T-shirt
Label
& Weight
to Attribute valuesWork to be pushed to #19
"The branch name should contain a brief summary of the issue and its id, e.g 2276369-fix-product-form-notice:" -- swap the order of id and issue to match the branch name: "brief summary of its id and the issue"
"git push -f fork 2276369-fix-product-form-notice" -- maybe mention why you have to add the "-f" flag for this command and no the previous push
Your forked repository and the original one (called origin) will eventually out of sync. -- missing a word before "out of sync". change to "eventually {get|become} out of sync"
"The current state is stored in a StateItem field. A field setting specifies the used workflow, or a value callback that allows the workflow to be resolved at runtime (checkout workflow based on the used plugin, etc. A validator is provided that ensures that the specified state is valid (exists in the workflow and is in the allowed transitions)." -- missing a closing parenthesis somewhere... have and extra opening one
RE: #19
Ryan says...
[Product type] --|-- [Product variation type]
T-shirt T-shirt variations
(fields) (fields)
|| ||
\/ \/
/
[Product] --|--<- [Product variations]
DrupalCon T-shirt \ Red, Green, Blue
(fields) (fields)
The https://www.drupal.org/project/name module is close and could be documented on implementing this.
The goal here is to end up with a high-level outline of what the structure of Drupal 8 Commerce API documentation should look like. That will enable developers to fill in the details in a structured way (as opposed to the mess that is http://www.drupalcontrib.org/api/search/8/commerce?page=1).
Regarding PR #19
fieldable entity
section to reduce wordiness and increase clarityExample intro by Bojan:
Imagine you need to sell a DrupalCon T-Shirt. This T-Shirt comes in different sizes and colors. Each combination of size and color has its own SKU, used to track the remaining amount of each kind of shirt
Example of furthering the analogy while describing the entity relationships by Bojan:
Color and Size are product attributes. Blue and small are product attribute values, belonging to the mentioned attributes. The combination of attribute values (with a SKU and a price) is called a product variation. These variations are grouped inside a product.
The work will be reflected in #19
We need a page that discusses the merchandising capabilities of Drupal Commerce 2.
Document the different formatters.
Plain: 100.00 USD
Default $100.00 with options
Calculated: $100.00, but based on resolved price.
The address format UI no longer exists, so half of the address docs page is no longer valid.
At the MidCamp sprints I noticed we could use a documentation guide on how to contribute to our documentation (META META)
Things:
http://docs.drupalcommerce.org/v2/payments/available-payment-gateways.html
This list is quite out of date. Recommend we update it with the following (and maybe link this doc?):
We need a page created for how to contribute to Drupal Commerce documentation.
We want it to look and read like the contributing page in Getting Started, but for the documentation side of things.
You need to add bcmath
http://docs.drupalcommerce.org/v2/orders/order-processing.html
We should have screenshots and show an example order of going from Cart -> Pending -> Completed.
When will be available commerce 2 complete documentation of following topics
Appreciate if you could share release date
the profile2 part, the d.o profile project now has a -dev release and can be downloaded normally like the other modules
Firstly there are 2 pages called getting started. One is top level the other in Contributing > Getting Started
Also I think the order should be Installing > Getting Started > Contributing > .... Seems weird to be told how to contribute before how to install.
Just opened #2 and there is no build check and link to the PR build.
Order Administration - see page: http://docs.drupalcommerce.org/v2/orders/index.html
Product Administration - see page: http://docs.drupalcommerce.org/v2/product/index.html
Product Attribute Administration - see page: http://docs.drupalcommerce.org/v2/product/product-attributes.html
Store Administration - see page: http://docs.drupalcommerce.org/v2/store.html
Currency Administration - see page: http://docs.drupalcommerce.org/v2/currency.html
Cart Administration
Traits
Checkout - see page: http://docs.drupalcommerce.org/v2/checkout/index.html
Payment - see page: http://docs.drupalcommerce.org/v2/payments/index.html
Promotion
http://docs.drupalcommerce.org/v2/creating-a-promotion.html
See https://www.drupal.org/node/2834968#comment-12006323 as an example why
http://docs.drupalcommerce.org/v2/payments/managing-order-payments.html
This one shows old bundle label of "Product variation" should be updated to the "Default" http://docs.drupalcommerce.org/_images/attribute_create_04.png
I'm proposing a new structure that is more book like, like a cookbook format. This makes it easier to find topics and even redistribute. It also gives us room to notice where we're missing documentation coverage.
Original
Proposed
See https://commerceguys.fr/blog/zoom-sur-modules-paiement-pour-drupal-commerce
The simple page is up at http://docs.drupalcommerce.org/v2/payments/available-payment-gateways.html, resembling the table in the blog post would be a good way to go.
on
Enter the store country: United States
I get
[CommerceGuys\Intl\Exception\UnknownCountryException]
I'm trying to find best way to manage company's data (users, stores, products etc) in a marketplace scenario. What's your recommendation? I've been playing with https://www.drupal.org/project/group and it seems like a way to go.
After you have added "Color" and the various colors your t-shirts are available in, the next step is to add that "color" attribute to our product. Store administrators can do this on the product variation type form, the checkbox in the last step automatically created entity referenced fields as needed:
This jumps into a picture of the product edit. But let's clarify this just shows the end result, and not next step. Or if we want it to be the next step, link to Make a Product documentation page
When adding a new plugin, still need to make config entity for it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.