cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SmartEdit Modes Not Working

Former Member
0 Likes
1,512

I have successfully integrated the smart edit into my storefront by following the guidelines as provided in the documentation. However, i am not able to live edit any of the pages. The basic edit and advanced edit are not working. On the console i see these warnings but the site id and catalogversionuuid are already set. Please suggest any other things that can be done here. Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Hi , looks like smartedit related javascript files are not loaded properly.

If you don't want minify your css and javascripts, try #1 else #2.

Disabling wro4j. a. storefront.wro4j.enabled=false in store front project.properties. b. Run addon command ant addoninstall -Daddonnames=smarteditaddon -DaddonStorefront.yacceleratorstorefront=your-store-front c. run ant clean and ant updatesystem.

Enabling wro4j a. storefront.wro4j.enabled=true. This flag will minify all your storefront javascript and css files. b. yourstorefront.wro4jconfigscan.smarteditaddon=true (This will automatically set when you run smartedit addon). c. Make sure that you have added addon_responsive.js in javascript.tag

    <script type="text/javascript"
          src="${contextPath}/_ui/combined/all_responsive.js"></script>
      <script type="text/javascript"
          src="${contextPath}/_ui/combined/addons_responsive.js"></script>
          
  </c:when>

Let me know if you still facing the issue.

For more information, visit https://help.sap.com/viewer/4c33bf189ab9409e84e589295c36d96e/1811/en-US/8af03fda8669101491e4aac2acae...