View Full Version : Integrate with Wordpress, but variable clashes
Hello
I am using wordpress to integrate shopwindow script. Both scripts use
the '?p=' variable (wordpress for pages, shopwindow for product id)
which is conflicting with each other. How do I change the variable
that shopwindow uses in the script?
Thanks
currentstyle
25-02-09, 19:38
Hi, I believe you just replace all occurences of ['p'] in classes\class.shopcore.php to whatever letter or word you want to use, however, don't use the following letters
g
c
s
e
q
rb
I tried it with ['w'] and it all worked fine.
Anthony
Thanks a lot, got it working!
currentstyle
26-02-09, 16:40
How do you even begin to integrate shopwindow with wordpress? The mere thought of it makes me shudder :o
I had to remove a lot of things from the shop window script :P Makes me wonder whether it'll track a sale lol (Is there a test credit card for testing sales, by the way?)
Have a look at my site:
http://www.shopwindowforum.com/showthread.php?p=5338#post5338
IntroSites
26-02-09, 22:03
Please explain "Why" you would intergrate with Wordpress, what are the benefits? what am i missing
Thanks
Makes me wonder whether it'll track a sale lol (Is there a test credit card for testing sales, by the way?)
No there's not.
I really don't get why you've gone through the trouble of integrating with WordPress the way you have though, it offers no advantages, at least nothing you couldn't have done far far simpler.
On a side note, i'd be interested in hearing how you get on with your chosen niche shop, it seems like a rather limited product subject to me.
I probably had gone the wrong way of starting my first shop on affiliatewindow, but I just wanted something simple that lists the products I want without too much "noise" (menus, search bars, etc). I originally had simple php pages which calls out some shopwindow functions and had a separate blog. Then my friend helped me with wordpress's template and said I should just use wordpress for the whole site instead. So I did since I'm doing pretty much the same thing with the php pages anyway. I just like wii fit :)