1/10/2024 0 Comments Drupal commerce configurationAfter analysis, it became clear to me that it was not a question here of setting up a single checkout flow for an order type, but to define the checkout flow that would be used by default for this order type. A default purchase tunnelįortunately, I misinterpreted this setting of the checkout flow on the order type. Which checkout flow to associate with an order type that can correspond to physical or digital products? Should we multiply the order types accordingly? What impact on the catalog architecture?Īs you have understood, this has raised many questions. Diantre! But how to make products that can have physical and digital variations (like books for example, with a paper version and a digital version) ? As a result, one product type could only be associated with one and only one checkout flow. And that a product type could only be associated with one and only one order type. On the other hand, during my first contact with Drupal Commerce 2, I was somewhat taken aback by the fact that an order type could only be associated with one and only one checkout flow. Do you sell physical (and therefore with associated delivery) and digital (without delivery) products? In a few clicks you can have two separate checkout flows that will take into account these specificities. This is an extremely interesting feature, in that it can simplify as much as necessary this famous checkout flows. I haven't had the issue happen again, but you're worried I would give the patch a shot.Drupal Commerce 2 allows to define out of the box multiple checkout flows, allowing to customize according to the order, the product purchased, the customer profile this buying process and modify it accordingly. here is my bug submission with the developers patch. Note: I had an issue where FedEx was down for certain services, but not home delivery. You should be all set! Add a product to your cart and give it a shot. Developing conditions for shipping can be an adventure of its own that I will let you partake on. I didn't have any special requirements for my shipping, just general shipping services for every product. That way if you're still not getting a shipping service to return you can see if FedEx is authenticated properly, or other errors. I highly recommend enabling the module to log responses. My FedEx response was returning FedEx Ground as blank, so I would enable both just in case your situation is different than mine. Not sure if this is a bug in the module or if FedEx just changed their API response. However, once I enabled FedEx Ground Home Delivery it worked. I originally only had "FedEx Ground" enabled and my system would report no shipping services were enabled yet the module was logging a valid response. I made that mistake by entering the information from the confirmation page and using my account password. Wait for the email from FedEx as that provides all the information you need, especially the password. You will need some FedEx API information, it can be a little difficult and not user friendly in trying to get set up with the information you need. Under the Shipping methods tab find the FedEx row and click on edit. Head over to the Store Settings -> Shipping. Okay, the products are set on to the shipping methods configuration. Modify each product variation and input your weights and dimensions. That is why you need to add these fields to the product type. The content type merely references the product type for user end display. I highly recommend setting a default values for your product variation type, or else you will need to configure the dimensions and weights on each variation. You will need to add these fields to the product type and set them for each product variation. andyg5000, the active developer, was extremely helpful and point me in the right direction. When it came time to adding the product weight and dimension fields I wasn't quite sure whether to put them on the content type or the product type. I haven't worked with Drupal since version 3 until a month ago when I had to setup a Drupal 7 Commerce site, so I was just as confused as the rest of the Internet on certain things about Drupal. You'll be able to assign product weight and dimension fields to products now, which is how the Drupal Commerce FedEx module works its magic. Go and grab Physical Fields and Commerce Physical Product and enable them once added to your Drupal install. Before you can think about shipping products there are a few modules you need to have installed. This guide is for Drupal Commerce, check out for more information about it. I just had an interesting time setting up shipping rules for Drupal Commerce and getting it to play nice with the awesome Drupal Commerce FedEx module. Often times we find ourself scouring the Internet looking for solutions to our problem, hoping to at least. We all can love Drupal, and we can just as equally hate it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |