I understand that quantity on order summary can only b = 1 but is it possible to hide it?

Suzanne Coffman
Tera Guru

I am working on my first two order guides and having an issue with the quantity.  If a user orders a quantity of an item that is >1, when they get to the Summary screen for the order the quantity shows as 1.  

From what I have read, this cannot be udpated to anything but 1.

I attempted to hide the column by going to Cart Layout and upating the Cart Preview Screen layout by unchecking the quantity column; but that did not work.

Any other suggestions?

SuzanneCoffman_0-1676477627352.png

 

1 ACCEPTED SOLUTION

SatyakiBose
Mega Sage

Hello @Suzanne Coffman 

The quantity field that you are seeing, is coming from the widget - SC Order Status

This is a read only widget. You will have to clone it in order to make any customizations.

Please check the screenshot below. You can find the Quantity label defined in the Body HTML template.

You need to edit this template, in order to hide this field.

SatyakiBose_0-1676478232636.png

 

View solution in original post

8 REPLIES 8

SatyakiBose
Mega Sage

Hello @Suzanne Coffman 

The quantity field that you are seeing, is coming from the widget - SC Order Status

This is a read only widget. You will have to clone it in order to make any customizations.

Please check the screenshot below. You can find the Quantity label defined in the Body HTML template.

You need to edit this template, in order to hide this field.

SatyakiBose_0-1676478232636.png

 

SatyakiBose
Mega Sage

Hello @Suzanne Coffman 

Please check the screenshot below.

I have placed the OOB widget on the top, and the custom cloned widget below.

Also, you will have to delete the line below in the HTML template:

          <td header="id-header-quantity" class="wrapper-md" ng-if="::options.display_quantity === 'true'">{{::requestItem.show_quantity ? requestItem.quantity : '--'}}</td>

After removing the line mentioned above, the quantity field is no longer visible.

SatyakiBose_2-1676478530038.png

 

Suzanne Coffman
Tera Guru

The first time I edited the widget it worked, but I noticed that another data row was not added to the widget list, so I was afraid I had managed to edit the original instead of creating a clone.  So I used an update set to move the widget from another environment to try again.  This time a second row was added..but it did not have an ID.  I cannot use the same ID because it has to be unique.  When I test it now, I still see the Quantity column on the summary.  What do I need to do to get it to use the clone instead of the original?

SuzanneCoffman_0-1676482473216.png

 

@Suzanne Coffman 

please revert the version of the widget to OOB and the remove the lines again that i have mentioned above from the html template.