By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 1,454 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

Using JavaScripts Generators into WordPress Websites

P: 6
Hy, I have a competitor who uses custom HTML+CSS along with JS in his WordPress website to implement Generators.

I also wish to use the same thing because it increases the page views but I don't seem to do so. Do we require any extra plugin for it?
Dec 10 '18 #1
Share this Question
Share on Google+
8 Replies


Xenajensen
P: 5
I don't know much about coding, but I think there is a plugin named Lorem Ipsum Generator from which we can create generators. I am not sure it is right for you or not, but I hope this might be helpful.
Dec 11 '18 #2

P: 6
I have gone through it. It is exactly not a generator plugin. It just produces random dummy text for websites.

I need a generator like for Gift Cards & Promo Codes.
Dec 12 '18 #3

Xenajensen
P: 5
Hi, jay gummers according to me I think building generators like it are not legal. If you still want to make, then you have to understand the programming language.
Dec 12 '18 #4

P: 6
I don't think they're illegal at all. This website where I found it has like thousands of daily users on the website.

Can you tell how to make them?
Dec 13 '18 #5

gits
Expert Mod 5K+
P: 5,223
well - just a search for 'gift cards' in the wordpress plugins yields:

https://wordpress.org/plugins/search/gift+cards/

may be thats the kind of thing you are looking for (basically mostly suited for Woocommerce)? else its possible to develop something of course but this is much more effort - and would require more information about setup and such. Just to give you a simplyfied example for the principle that would need to be implemented with a promocode:

1. generating a code - relativly simple
2. the generated code would need to be stored in your database somewhere - because you want to at least be able to check if the code was only used once or how many times you want it to be used. after that the code should be invalid.
3. depending on how your shop works - your checkout form would need to have a field/line or however it should be handled (may be even as an additional product or such in the cart) to type in a code and the system would need to handle it accordingly for calculation or such.

i really cant think of a solution that wouldnt involve some backend here for a useful usecase - that means its not only HTML/CSS/Javascript - since that is only used clientside, while the purpose of promo codes/Gift cards is to be handled at the serverside for calculations and whatnot. So if you have a Woocommerce solution then a prebuilt plugin is probably the easiest option to go with.
Dec 14 '18 #6

P: 6
Hi @gits

Thanks for reaching out for help. But I don't think you got my question right. I am actually for a Generator Script which I embed into my website.

P.S. I don't have a Woocommerce Store & I don't need Gift Cards for coupons. Also, I cannot put any link in the thread because it is a new account.
Dec 14 '18 #7

gits
Expert Mod 5K+
P: 5,223
well more above you mentioned gift cards - so what should it exactly generate?
Dec 14 '18 #8

P: 6
Iam talking about the Gift Card Codes.
Dec 15 '18 #9

Post your reply

Sign in to post your reply or Sign up for a free account.