Drupal Commerce 2 Receipt Email only shows Billing and Shipping data when an order is placed as an admin user

I have triple checked all the User Permissions on admin/people/permissions. All checked permissions for under Commerce are checked with the exception of those that have the “Warning: Give to trusted roles only; this permission has security implications.” warning.

I replaced the custom commerce-order-receipt.html.twig with the original one used in Commerce2 with no luck as well.

Any further debugging tips and suggestions are helpful as I am newer to the Drupal world. Thank you!

Magento 2 : In registration page how to ask for shipping address different than company address?

In registration form I want to ask the user if he wants to use a different address for shipping address. If that is true, then he can input the fields for the shipping Address. I have tried to override and modify register.phtml form that is located in the path app/design/frontend/Vendor/Theme/Magento_Customer/templates/form/ register.phtml

I tried to copy the whole form for address and put <input type="hidden" name="default_shipping" value="1"> in the form for shipping Address, however when I submit the form it copies the data from company form into shipping address form. It duplicates the info and I get an error Delete operation . This is the field set for shipping Address

<fieldset id = "shipping-address-register" class="fieldset address">         <legend class="legend"><span><?= $  block->escapeHtml(__('Business Shipping Address')) ?></span></legend><br>         <input type="hidden" name="create_address" value="1" />          <?php $  _company = $  block->getLayout()->createBlock('Magento\Customer\Block\Widget\Company') ?>         <?php if ($  _company->isEnabled()): ?>             <?= $  _company->setCompany($  block->getFormData()->getCompany())->toHtml() ?>         <?php endif ?>          <?php $  _telephone = $  block->getLayout()->createBlock('Magento\Customer\Block\Widget\Telephone') ?>         <?php if ($  _telephone->isEnabled()): ?>             <?= $  _telephone->setTelephone($  block->getFormData()->getTelephone())->toHtml() ?>         <?php endif ?>          <?php $  _fax = $  block->getLayout()->createBlock('Magento\Customer\Block\Widget\Fax') ?>         <?php if ($  _fax->isEnabled()): ?>             <?= $  _fax->setFax($  block->getFormData()->getFax())->toHtml() ?>         <?php endif ?>          <?php $  _streetValidationClass = $  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('street'); ?>          <div class="field street required">             <label for="street_1" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('street') ?></span></label>             <div class="control">                 <input type="text" name="street[]" value="<?= $  block->escapeHtmlAttr($  block->getFormData()->getStreet(0)) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('street') ?>" id="street_1" class="input-text <?= $  block->escapeHtmlAttr($  _streetValidationClass) ?>">                 <div class="nested">                     <?php $  _streetValidationClass = trim(str_replace('required-entry', '', $  _streetValidationClass)); ?>                     <?php for ($  _i = 2, $  _n = $  this->helper('Magento\Customer\Helper\Address')->getStreetLines(); $  _i <= $  _n; $  _i++): ?>                         <div class="field additional">                             <label class="label" for="street_<?= /* @noEscape */ $  _i ?>">                                 <span><?= $  block->escapeHtml(__('Address')) ?></span>                             </label>                             <div class="control">                                 <input type="text" name="street[]" value="<?= $  block->escapeHtml($  block->getFormData()->getStreetLine($  _i - 1)) ?>" title="<?= $  block->escapeHtmlAttr(__('Street Address %1', $  _i)) ?>" id="street_<?= /* @noEscape */ $  _i ?>" class="input-text <?= $  block->escapeHtmlAttr($  _streetValidationClass) ?>">                             </div>                         </div>                     <?php endfor; ?>                 </div>             </div>         </div>          <div class="field required">             <label for="city" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('city') ?></span></label>             <div class="control">                 <input type="text" name="city" value="<?= $  block->escapeHtmlAttr($  block->getFormData()->getCity()) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('city') ?>" class="input-text <?= $  block->escapeHtmlAttr($  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('city')) ?>" id="city">             </div>         </div>          <div class="field region required">             <label for="region_id" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('region') ?></span></label>             <div class="control">                 <select id="region_id" name="region_id" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('region') ?>" class="validate-select" style="display:none;">                     <option value=""><?= $  block->escapeHtml(__('Please select a region, state or province.')) ?></option>                 </select>                 <input type="text" id="region" name="region" value="<?= $  block->escapeHtml($  block->getRegion()) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('region') ?>" class="input-text <?= $  block->escapeHtmlAttr($  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('region')) ?>" style="display:none;">             </div>         </div>          <div class="field zip required">             <label for="zip" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('postcode') ?></span></label>             <div class="control">                 <input type="text" name="postcode" value="<?= $  block->escapeHtmlAttr($  block->getFormData()->getPostcode()) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('postcode') ?>" id="zip" class="input-text validate-zip-international <?= $  block->escapeHtmlAttr($  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('postcode')) ?>">             </div>         </div>           <div class="field country required">             <label for="country" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('country_id') ?></span></label>             <div class="control">                 <?= $  block->getCountryHtmlSelect() ?>             </div>         </div>           <?php $  addressAttributes = $  block->getChildBlock('customer_form_address_user_attributes');?>         <?php if ($  addressAttributes): ?>             <?php $  addressAttributes->setEntityType('customer_address'); ?>             <?php $  addressAttributes->setFieldIdFormat('address:%1$  s')->setFieldNameFormat('address[%1$  s]');?>             <?php $  block->restoreSessionData($  addressAttributes->getMetadataForm(), 'address');?>             <?= $  addressAttributes->setShowContainer(false)->toHtml() ?>         <?php endif;?>         <input type="hidden" name="default_shipping" value="1">      </fieldset> 

This is the fieldset for General Company address

  <?php if ($  block->getShowAddressFields()): ?>     <fieldset class="fieldset address">         <legend class="legend"><span><?= $  block->escapeHtml(__('Business Address Information')) ?></span></legend><br>         <input type="hidden" name="create_address" value="1" />          <?php $  _company = $  block->getLayout()->createBlock('Magento\Customer\Block\Widget\Company') ?>         <?php if ($  _company->isEnabled()): ?>             <?= $  _company->setCompany($  block->getFormData()->getCompany())->toHtml() ?>         <?php endif ?>          <?php $  _telephone = $  block->getLayout()->createBlock('Magento\Customer\Block\Widget\Telephone') ?>         <?php if ($  _telephone->isEnabled()): ?>             <?= $  _telephone->setTelephone($  block->getFormData()->getTelephone())->toHtml() ?>         <?php endif ?>          <?php $  _fax = $  block->getLayout()->createBlock('Magento\Customer\Block\Widget\Fax') ?>         <?php if ($  _fax->isEnabled()): ?>             <?= $  _fax->setFax($  block->getFormData()->getFax())->toHtml() ?>         <?php endif ?>          <?php $  _streetValidationClass = $  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('street'); ?>          <div class="field street required">             <label for="street_1" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('street') ?></span></label>             <div class="control">                 <input type="text" name="street[]" value="<?= $  block->escapeHtmlAttr($  block->getFormData()->getStreet(0)) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('street') ?>" id="street_1" class="input-text <?= $  block->escapeHtmlAttr($  _streetValidationClass) ?>">                 <div class="nested">                     <?php $  _streetValidationClass = trim(str_replace('required-entry', '', $  _streetValidationClass)); ?>                     <?php for ($  _i = 2, $  _n = $  this->helper('Magento\Customer\Helper\Address')->getStreetLines(); $  _i <= $  _n; $  _i++): ?>                         <div class="field additional">                             <label class="label" for="street_<?= /* @noEscape */ $  _i ?>">                                 <span><?= $  block->escapeHtml(__('Address')) ?></span>                             </label>                             <div class="control">                                 <input type="text" name="street[]" value="<?= $  block->escapeHtml($  block->getFormData()->getStreetLine($  _i - 1)) ?>" title="<?= $  block->escapeHtmlAttr(__('Street Address %1', $  _i)) ?>" id="street_<?= /* @noEscape */ $  _i ?>" class="input-text <?= $  block->escapeHtmlAttr($  _streetValidationClass) ?>">                             </div>                         </div>                     <?php endfor; ?>                 </div>             </div>         </div>          <div class="field required">             <label for="city" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('city') ?></span></label>             <div class="control">                 <input type="text" name="city" value="<?= $  block->escapeHtmlAttr($  block->getFormData()->getCity()) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('city') ?>" class="input-text <?= $  block->escapeHtmlAttr($  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('city')) ?>" id="city">             </div>         </div>          <div class="field region required">             <label for="region_id" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('region') ?></span></label>             <div class="control">                 <select id="region_id" name="region_id" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('region') ?>" class="validate-select" style="display:none;">                     <option value=""><?= $  block->escapeHtml(__('Please select a region, state or province.')) ?></option>                 </select>                 <input type="text" id="region" name="region" value="<?= $  block->escapeHtml($  block->getRegion()) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('region') ?>" class="input-text <?= $  block->escapeHtmlAttr($  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('region')) ?>" style="display:none;">             </div>         </div>          <div class="field zip required">             <label for="zip" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('postcode') ?></span></label>             <div class="control">                 <input type="text" name="postcode" value="<?= $  block->escapeHtmlAttr($  block->getFormData()->getPostcode()) ?>" title="<?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('postcode') ?>" id="zip" class="input-text validate-zip-international <?= $  block->escapeHtmlAttr($  this->helper('Magento\Customer\Helper\Address')->getAttributeValidationClass('postcode')) ?>">             </div>         </div>           <div class="field country required">             <label for="country" class="label"><span><?= /* @noEscape */ $  block->getAttributeData()->getFrontendLabel('country_id') ?></span></label>             <div class="control">                 <?= $  block->getCountryHtmlSelect() ?>             </div>         </div>           <?php $  addressAttributes = $  block->getChildBlock('customer_form_address_user_attributes');?>         <?php if ($  addressAttributes): ?>             <?php $  addressAttributes->setEntityType('customer_address'); ?>             <?php $  addressAttributes->setFieldIdFormat('address:%1$  s')->setFieldNameFormat('address[%1$  s]');?>             <?php $  block->restoreSessionData($  addressAttributes->getMetadataForm(), 'address');?>             <?= $  addressAttributes->setShowContainer(false)->toHtml() ?>         <?php endif;?>         <input type="hidden" name="default_billing" value="1">       </fieldset> 

Thanks and greetings!

coupon for free shipping gives an Error

Magento 1.9.4 2 shippings methods:   1. flat rate local delivery option 2. table rate (we use that for nationwide shipping) 

We would like to run a promo for free shipping on the first shipping option (flat rate) for local delivery only on orders over $ 70.

I have setup a coupon for free shipping by going to:

Promotions –) shopping cart rules

where in Conditions I’ve entered the following:

If ALL of these conditions are TRUE : Subtotal greater than 70
Shipping Method is [flatrate] Local delivery

I also tried the following:

If ALL of these conditions are TRUE : Subtotal greater than 70
Shipping Method is not [tablerate] Table Rate

But when customers try to put the coupon code in on the 2nd page of the check-out – it gives the “Coupon code “test” is not valid.” Error.

I suspect the reason for that could be because customer does not get to choose the shipping option until later on in the check-out process.

Is there any way to achieve what we are trying to do? (free flat rate shipping only on orders over $ 70 – this should not concern the nationwide shipping which we set up under the table rates option at all)

Drop shipping dilemma.

Good morning everyone, my name is Lee Duva. This is my first time on this site. And this also my first post. I'm in a bit of a dilemma. when it comes to dropping shipping, I'm not exactly new to it. But I don't think not to experience. You see, last year I brought a dropshipping website, called Sextoyman at Flippa. The site was already done. I didn't have to do much but to advertise it, and occasionally pay someone to fix, and update the theme.

After feeling confident, and wanted to…

Drop shipping dilemma.

How to add a datepicker field in Shipping address step at Customized checkout?

In the checkout page, we have two of the options. First one is School and the second one is Private person. Customer can order via school option and as well as the private person. In both the option, we have shipping address step and payment step.

enter image description here

Now, we want to add a datepicker field in shipping address step at school option. How to do it?

Could anyone please give me your suggestion?

Where can I contact the shipping department of VFS – New York scanning hub?

I applied for a UK standard visitor visa.

I sent my application myself using USPS with a return shipping label from USPS inside the package. I was informed by VFS from the email address:

nyscanhub.labels@vfsglobal.com

that they cannot send back my passport using USPS and I need to send a UPS return label. I replied back to that email with a UPS shipping label. My co-worker also applied for the same visa, had sent a USPS shipping label and she wrote a fresh email to the same email address as above and she received her passport today.

My tracking number on UPS says ‘Label created’ (which means they haven’t even handed it UPS yet).

Where can I contact someone/anyone from VFS to get an update ?

More info:

I applied for a Standard Visitor’s visa for the UK from the US. I am a permanent resident in the US. I had my biometrics appointment at the Application Support Center in San Fernando, California.

[GET] Amazon Assassin Drop Shipping Course By Matthew Gambrell

For all the aspiring and current Amazon Dropshippers interested in developing and growing their accounts to increase revenue. Are you ready?

What if you could build an Online Business that pays you to live your dream life?

The ability to quit your job, travel the world, and live the freedom lifestyle while working on your terms from any location in the world, while truly enjoying your life.

Introducing The Amazon Assassin Course, led by Guru Matt Gambrell, who has…

[GET] Amazon Assassin Drop Shipping Course By Matthew Gambrell

Change Weight per unit, while shipping

I am facing a serious problem with my courior company, whenever I proceed the shipment of any order, the weight canculated per product is 1 kg and so I get charged from the courier company accodingly and I have to go with a long procedure to explain them.

So if there any way i can set it to 250 grams or so, where my every product will be counted as 250 grams when I create a shipment of any order.

Magento 2 – Invalid template error after adding custom shipping method and running setup:upgrade

I have added a custom shipping method module to the app/code folder and after running setup:upgrade I am getting the following error message on the home page:

Error filtering template: Invalid template file: 'product/widget/content/grid_v16.phtml' in module: 'WeltPixel_OwlCarouselSlider' block's name: 'slider\products_0' 

I have also run the cache:flush and cache:clean commands.

Any ideas?

Magento version is 2.2.4