Is it possible to remove / disable the Add to Quot...
# suitecommerce
a
Is it possible to remove / disable the Add to Quote feature with SuiteCommerce Standard? I imagine not, because the SuiteAnswers for doing that all involve editing the distro.json. Since when I'm not logged in as a customer the button is still there but greyed out, I imagine that removing the Quote permissions for a customer would just cause a permissions error if the button is clicked. Thanks!
$('button[data-type="add-to-quote"]').hide(); works in the console. A dirty solution might be to include that as JS or CSS in the add to head through SMT. 😕
p
i think you could also try replace a context variable that is in the button tpl
Copy code
isQuotable
f
do you mean the "Request a Quote" link that is in the top bar?
a
@PabloZ So I would need to extend the theme. Hm.
We didn't scope for any extensions in this project. @Flo Meilan I mean the "Add to Quote" button on the PDP, in the My Account, pretty much any instance where there is a call to action for quoting. The customer does not want it at all.
It seems odd that there isn't a configuration to disable it.
It would be pleasant to be able to disable any feature module in the configuration record. Like reviews, quotes. Just like in the Store Locator subtab there is a Is Enabled checkbox.
f
Are you sure that if you remove the permission from the role that button is not removed?
a
@Flo Meilan The add to quote button appears on the site even when the customer is not logged in. I don't even see Estimate/Quote on the transactions list of permissions for Customer Center Role > Customize. It's just not there. Maybe that explains why there is no application-level detection to decide if it should be offered or not. (Kindly forgive me for @ -ing you, it's been a few days with the US holidays and closures).😬
p
The option to give/revoke permissions on estimates is there (not saying it will make a difference in SCA PDP). The transaction might be renamed in your acct.
Check on /app/setup/naming.nl .... it's my least favorite NS feature
a
Nope. Estimates are not even enabled in the instance, it's why they are not showing up on roles.
f
You are right, that does not make sense. At least we should be checking the feature is enabled.
There is checkbox in the configuration that removes the link from the header, but the add to quote button on the product page still remains
My recommendation would be to create a support case to report that even though you do not have the feature enabled, the website is still showing as this being available for customers/shoppers.
w
Did you check the box in the configuration to Disable Request A Quote?
@ANHE It's under Commerce Extensions > Global Configuration
p
If it's under commerce extensions then it comes from an extension, i believe some NS-developed themes bring companion extensions that tweak the site.
a
@wes_w How do I get to Commerce Extensions > Global Configuration?
w
It's in the Configuration on my account, but as @PabloZ says, I use the Threads Theme from NS
a
I'm using Threads theme also!
But where is "Disable Request A Quote"?
As Flo says, "Show Request a Quote Hyperlink" only toggles the link in the header. The Add to Quote button still shows on the PDP, in My Account, and Quick View. Even though the Estimates is not an enabled feature in this instance. I want to turn the feature off entirely.
w
Here is where it lives in my configuration:
I think you are missing a bundle that adds this in.
message has been deleted