Reading from website

Hi, I am using the reading from website snippet to get an order total cost, is it possible to add a formula ? for example, be able to add shipping to the total number that the snippet is pulling?

Hi,

You can try something like this:

{note}{ordercost={site: text; page=https://numbergenerator.org/*; select=ifneeded; selector=#high}}{`Total Cost`=ordercost+`shipping fee`; format=$,.2f}{endnote}
{formtext: name=shipping fee}
Total Cost: {=`total cost`; format=$,.2f}

You can't preview site commands in the community, but I added a clip below of what it looks like. I used the site command to read a number from a random number generator as an example. The formula adds the number you put into the shipping fee text field to the order cost you read from the page.

Video walkthrough

Please let me know if you have any questions about the snippet. Happy to help :slight_smile:

1 Like