commerce – Impossible to edit billing address (if not the same than shipping adresse)

****Version : Drupal 9.0.8
****Modules : Drupal Commerce 8.x-2.23 // Commerce Stripe 8.x-1.0-rc4

****My config : Payment gateway = stripe, collect billing information is checked

In checkout pane :
User can’t edit billing adress (even if billing adress is not the same than shipping adress, checkbos not checked)
User can only edit shipping adresse.

What is wrong ?
Is a Stripe bug (like this https://www.drupal.org/project/commerce_stripe/issues/3141622)
But I don’t fine patch or help about this issue

Thank your for your help.
Aude

e commerce – How to manage shipping to multiple addresses during checkout

We are allowing shipping to multiple addresses during checkout for guest customers. The steps are a lot simpler for an existing user since we can pull addresses from their account for them to choose.

However, guest customers have to do the following for every address:

  1. Input address
  2. Choose product(s) to ship
  3. Choose shipping method

What are some good examples you have seen in the past? What are some considerations to look out for?

magento2 – Shipping methods controlled by post codes

I use Magento 2.3.4 and I have 3 shipping methods that are running at the same time but I want them to only display one at a time.

The entire shipping system runs off a set of post codes. for the sake of clarification, these are the post codes:

IV1 1AA,

IV1 1AD,

IV1 1AX,

IV1 1BA,

IV1 1DA,

Secondly, the shipping system runs off a minimum order amount of $1.

Below are the present settings for the 3 shipping methods

1. Table Rate

This runs off a set of post codes and only displays when the available post code is inserted. This works great. no concerns here.

2. Flat Rate

This runs off a minimum order amount of $1 but we want it to display based on the above post codes. In the absence of the above post codes, it shouldn’t display

3. Free Shipping.

This runs off a minimum order amount of $1 but we want it to display based on the above post codes. In the absence of the above post codes, it shouldn’t display.

I tried to use CART RULES but didn’t work out great.

My Request is this… I want an extension that can manage the display of each of the above 3 shipping methods 1 at a time and not all 3 to display at the same time

I need to know of any premium extension that can handle the 3 options above or any method in Magento platform I can use to get it done.

magento 1.9 – No Shipping quotes being returned – receiving “Access Denied”

The UPS Shipping Method suddenly stopped working yesterday. Upon enabling debugging for the service, it returns:

    [result] => <HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>

You don't have permission to access "http&#58;&#47;&#47;www&#46;ups&#46;com&#47;using&#47;services&#47;rave&#47;qcostcgi&#46;cgi&#63;" on this server.<P>
Reference&#32;&#35;18&#46;44bc7768&#46;1610719663&#46;4729d456
</BODY>
</HTML>

I know it’s likely to be a local configuration issue, but also wondering if the UPS endpoint was removed or changed recently?

I’m not sure how best to proceed. Any pointers would be greatly appreciated.

magento2 – Magento 2 get country Id when on change in estimate shipping on cart page

Due to some custom requirement on cart page, I need country id when someone change it using jquery.

enter image description here

I have tried with below jquery script but its not working.

<script>
require(('jquery', 'jquery/ui'), function($){
  jQuery(document).ready( function() {
    $('select(name="country_id")').on("click",function(){
        alert('hi');
        var countyId=$(this).filter(":selected").val();
        alert(countyId);
    });
      
  });
});
</script>

please share your idea on how to achieve it.

magento2 – Magento 2.4 – Express Checkout – Shipping Address Error

A fresh install Magento 2.4.x + theme, but having some issue related to express checkout, as seen from below picture on red-box area.

enter image description here

The form has missing some elements, like firstname, lastname etc.
When I compare things around, it should have it. Do I miss some setup?

Also, when I check on console, I’ve seen some javascript error that I’m not familiar with, as below

Uncaught ReferenceError: Unable to process binding "foreach: function(){return { data:elems,as:'element'} }"
Message: Unable to process binding "if: function(){return element.visible() }"
Message: Unable to process binding "ifnot: function(){return (element.input_type =='checkbox'|| element.input_type =='radio') }"
Message: Unable to process binding "template: function(){return $parent.fieldTemplate }"
Message: Unable to process binding "afterRender: function(){return oscAddress.fieldAfterRender(element.dataScope) }"
Message: oscAddress is not defined

I’m not really familiar with front-end stack on Magento, so I don’t know what I need to do.

Any suggestion? Do I miss some server / code setup? or maybe Admin setup?
I already tried to refresh cache etc, but the problem still remains.
Also, I already change to Luma / default theme, but the problem still persist. So, I’m wondering if there’s something that I missed.

Thanks. 🙂

phtml – Override shipping fee text Magento 1.9

On One Step Checkout, ive changed table rates for purchases over 1000 to charge 85 fee.
Currently its only displaying “85”, I want it to show (“Shipping fee” is 85)

enter image description here

  1. Copy Base/...available.phtml to child_theme/templates/checkout....
  2. Not sure where in this form where i can concat the text “Shipping fee will be”
    <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
    <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
    <?php echo $_excl; ?>
    <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl) : ?>
        (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
    <?php endif; ?>
</label> ```

thanks

Admin URL path in commerce shipping view?

I am setting up a Shop with Drupal Commerce 2 currently. I installed the Commerce Shipping Module and customized everything to my needs. The only thing I wonder about is, that the URL for the default view of a single order shipping item uses the admin path admin/commerce/orders/%/shipments/%. So, If i give a user the permission to “show own shipments”, the user will use the /admin-path too.

Is this normal by design, or should I create another view with an URL-pattern like /user/uid/shipments/%

What would be considered best practise for this case? Or is it completely irrelevant if users use the /admin-path as well? Thank you very much in advance!

sql server – How to dispose of large tables with the least impact to log shipping?

If you DROP the tables, it’ll cause minimal logs to be generated because it doesn’t immediately force garbage collection to occur on the used space, it merely basically just removes the reference. You similarly can accomplish the same outcome with TRUNCATE (though I think on large tables there could be more overhead than DROP, I’ll have to research this and update my answer accordingly).

This is a really good article that details why TRUNCATE and DROP operations are seemlessly quick and generate minimal logs, which is due to a feature of SQL Server called deferred drop.

Either way, avoid DELETE otherwise that will generate a ton of logs that will need to get shipped and reapplied at the target database.