# I need help on some HTML code

**URL:** <https://onehack.st/t/i-need-help-on-some-html-code/171249>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [January 29, 2021, 9:49am UTC](https://onehack.st/t/i-need-help-on-some-html-code/171249 "2021-01-29T09:49:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wajdi\_Sfar](https://onehack.st/user_avatar/onehack.st/wajdi_sfar/32/42837_2.png) [@Wajdi\_Sfar](https://onehack.st/u/Wajdi_Sfar)\
**Post date:** [January 29, 2021, 9:49am UTC](https://onehack.st/t/i-need-help-on-some-html-code/171249/1 "2021-01-29T09:49:12Z")

</div>

Hi folks!  
I’m making a website for my small business and I had an issue with something

so it’s and E-Store and the problem that I wanna receive the name of the product too in the SMS text when they click on “Order now!” but I didn’t know how hh  
please help  
🙂 and thank you

that’s my code

 ![Screenshot 2021-01-29 at 01.20.11](https://onehack.st/uploads/default/original/3X/3/2/3221147efc5f66a926eb520be3af508b82e78e4e.png)

the code

Page Title 

#### hi

###### $5.00
 Quantity:   
  

that’s the output

 ![Screenshot 2021-01-29 at 01.20.23](https://onehack.st/uploads/default/original/3X/3/7/37e39cb490a472295919d7e617b4b23b16d706b6.png)

and that’s what happens when they click on “Order Now!” Button

 ![Screenshot 2021-01-29 at 01.20.44](https://onehack.st/uploads/default/original/3X/3/4/344af7449c8b0a729be64cb4c2a9992e0130b334.png)

---

<div class="post-metadata">

**Author:** ![Rajesh\_Raj](https://onehack.st/user_avatar/onehack.st/rajesh_raj/32/19783_2.png) [@Rajesh\_Raj](https://onehack.st/u/Rajesh_Raj)\
**Post date:** [January 29, 2021, 10:25am UTC](https://onehack.st/t/i-need-help-on-some-html-code/171249/2 "2021-01-29T10:25:23Z")

</div>

Take a hidden input field with value will be your product name  
On submit you will get product name

**`<input type="hidden" value="Product Name" name="product">`**

---

<div class="post-metadata">

**Author:** ![Wajdi\_Sfar](https://onehack.st/user_avatar/onehack.st/wajdi_sfar/32/42837_2.png) [@Wajdi\_Sfar](https://onehack.st/u/Wajdi_Sfar)\
**Post date:** [February 1, 2021, 4:30am UTC](https://onehack.st/t/i-need-help-on-some-html-code/171249/6 "2021-02-01T04:30:00Z")

</div>

where exactly do I place it? if u can send me a screenshot or smthg plz

---

<div class="post-metadata">

**Author:** ![11195](https://onehack.st/user_avatar/onehack.st/11195/32/81897_2.png) [@11195](https://onehack.st/u/11195)\
**Post date:** [January 29, 2021, 7:08pm UTC](https://onehack.st/t/i-need-help-on-some-html-code/171249/3 "2021-01-29T19:08:02Z")

</div>

How many types of products do you have on the website? If there are a lot, then only Html code will not work.  
You need to add some javascript or PHP code for the product name variable.

---

<div class="post-metadata">

**Author:** ![Rajesh\_Raj](https://onehack.st/user_avatar/onehack.st/rajesh_raj/32/19783_2.png) [@Rajesh\_Raj](https://onehack.st/u/Rajesh_Raj)\
**Post date:** [January 30, 2021, 5:02am UTC](https://onehack.st/t/i-need-help-on-some-html-code/171249/5 "2021-01-30T05:02:43Z")

</div>

he can use json as data source.  
And parse the json using javascript.

if he doesn’t want any backend interaction.

[Next page](https://onehack.st/t/i-need-help-on-some-html-code/171249.md?page=2)
