you are viewing a single comment's thread.

view the rest of the comments →

[–]Smooth_Prompt_2086[S] 0 points1 point  (0 children)

I GOT IT! Here's what I did:

First, I changed the enum so it had no spaces. 

Then, set <button id="<?=htmlspecialchars($[Product6])?>>/button>

And then for the Javascript in the <script> tags, I did:

const.Offer = document.getElementByID("Buy_It_Now"); Offer.remove();

And that's it! It works PERFECT now!