How can we refresh standard template in a salesforce community? - salesforce

I have created one experience site on Salesforce and in that Cart to be updated is the cart which I want to update and want to show the cart items number once user upload cart item from upload file widget. Right now it is not getting updated and even if I add some products on cart it is showing no value. Upload file widget is lightning component which I have made and cart is the standard template of community.

Related

How to add to cart the Elementor Portfolio Live Preview Box?

plugin Elementor Portfolio Live Preview Box How do I link it to add to cart instead of visiting the site
I made a modification in the json file but I can only change the word and not link the url
"elements":[{"id":"4e8c70d8","settings":{"text":"Add to cart","link":{"url":"https://mervato-seeusoon-se.ibrave.host/cart/","is_external":"on","nofollow":"","custom_attributes":""}

Page Doesn't exist error for lightning page in salesforce

I have created a lightning web component and added this on the detail page of the account as quick action. As I need to open new page with that lwc component on click on that quick action so I created a lightning page through lightning app builder and added created lwc component there.
In the lwc component I am simply fetching data from one custom object and showing that. When I login with one of the salesforce profile then it's showing error Page doesn't exist.
I have debugged and found that the lightning page's tab's visibility is hidden and it's not showing through quick action. If I change visibility to default off then it's started working.
Can anyone please suggest me what I am doing wrong here. Any help will be appriciated.
Thanks

persist users selection in react-select after reloading the page

I am new to react and I want to save the selection chosen by a user if I reload the page..
I have many react-select boxes so is it possible to save all these selections?

React popup with router

I have a redux store named as cart and once I click checkout button I am moving to another route order summary. I want to keep cart alive because if I click back button on order summary it must show me the cart with stored data?
Please help how can I do this?

ExtJS load views dynamically for dashboard widgets

In my ExtJS 4.2.1 Application I have a dashboard screen where Im showing some charts and grids.
I have been requested by my client to allow the user to add custom widget (from a static collection of widgets) so the dashboard will only show the widgets that the user wants to have.
So I have to create the widgets dynamically depending on some JSON that I will send from server when the user logins. But i have no idea how to implement this.
The process that the user will follow will be the following:
On my dashboard view I will have 4 panels (table layout).
Each panel will have a tool (gear icon).
The user clicks on this gear icon and a window will be shown with a list of available widgets he can assign to that panel.
The user selects the widget that he wants to add to the selected panel and he pressed the button "Apply".
On button clicked event the preferences will be saved on database.
The next time the user logins in to the app, the preferences will be loaded into the initial JSON so the widgets can be loaded into each panel.
Does anyone have implemented this kind of approach?
I will try to explain for a single panel then u can extend/use that on multiple panels(may be using tbl layout). Say we have some charts view files already created(for this ref charts tutorial on extjs docs), The charts files should have a config (custom config) through that we will pass the real time/dynamic data requied by the chart.
So For first time we will allow user to select chart/widget options from list we we will create chart/widget on its select event as well as save the name of the widget or any other extra settings provided in that widget along with user details in database.
Next time when user logs in we have to retrieve the widget name etc from db and create a widget dynamically on page laod event and display.
Hope this clarify your understanding.

Resources