when we open the purchase history detail page in the same tab it will display the track number but when we open the purchase history detail page in a new tab by clicking the link from the purchase history list page, an error message is showing.
Author: Priyadarshini Elumalai Kannan
How to resolve the error {“header”:{“status”:{“code”:”Error”},”message”:”cannot read property \”type\” from undefined”,”extra_data”:{},”error_code”:”TypeError”}}
When we navigate to the extension we get the error as shown below Solution: Customization-> List,records and field–>Record types–> SC extension Activation ->list If we get any error extension we’ve to go to the record types And in here check the listAnd make the activation record as FINISHED if it’s showing as error.
How to resolve error shipping label could not be generated
To set Item Fulfillment to Packed Status. A warning appears: A Shipping label could not be generated because the Address field of the “Ship From” address is not set. Navigate to Setup > Company > Locations Click Edit on the Location Click Address tab In the Address section/box, click Edit A pop-up window appears Add… Continue reading How to resolve error shipping label could not be generated
Resolving the issue when after billed the tracking number will be not displayed
Create a sales order and fulfill that order. Then it redirects to the item fulfillment page there is a sub-tab package. Fill the below fields : 1) LBS 2) Package contents description 3) Package tracking number 4) Save Ex: LBS: 8, Package contents description: FedEx, Package tracking number: 450745776791 And do the billing then, In the… Continue reading Resolving the issue when after billed the tracking number will be not displayed
How to add a tracking number in my account page
We can add a tracking number column in the purchase history page and when the billing is done corresponding the tracking number will be displayed for the billed item entry file In tpl for displaying the heading as tracking no In tpl for display the value of the tracking number
How to add a total amount in the header section
When the item has been added to the cart. It helps the users to see the item’s total amount when the user login in it will be displayed in the header section and before login, the total amount will not able see In entry file In the corresponding template added the cart total In the… Continue reading How to add a total amount in the header section
How to Slide Down a Bar on Scroll
We can slide down a navbar when the user starts to scroll the page. Step 1) Add HTML: Create a navigation bar: Step 2) Add CSS: Style the navigation bar: Step 3) Add JavaScript:
How to create a full-screen overlay navigation menu using javascript
We click on the element to open the fullscreen overlay navigation menu. The navigation menu will slide in from left to right, if we click on the close icon navigation will be closed Step 1) Add HTML: Step 2) Add CSS: Step 3) Add JavaScript: The example below slides in the overlay navigation menu from… Continue reading How to create a full-screen overlay navigation menu using javascript
How to upload files asynchronously using JQuery
when we select a file from the browser and click submit button, the browser takes file from local machine and submit it to the server and the server does its job to save the file to the defined path. Here use ajax and jQuery to upload a file asynchronously. Used Function: FormData(): It creates a new FormData… Continue reading How to upload files asynchronously using JQuery
How to create Expanding Cards using Javascript
We will see how we can create an expanding card that displays an expanded view of the card on click Step 1) HTML: Example code Step 2) CSS: Step 3) Javascript : The querySelectorAll() method is used to return a collection of child elements with the class section. The addEventListener() method is used to handle… Continue reading How to create Expanding Cards using Javascript