WordPress Plugin: “NoShop”

NoShop Product Page allows you to create a formatted list of products/items with pictures.

This allows you to create a shopping cart like product page or employee list with pictures without having to install

and maintain a full shopping cart.

Data is stored in the wordpress database.

Pictures has to be pre-uploaded to somewhere and then referenced via URL.

For each item you can add specifications tags.

See also: NoShop.

Download

Latest version: Download NoShop v0.5.3 [zip]

Installation

How to install the plugin and get it working.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory. (Or install via WP plugin directory)

  2. Activate the plugin through the 'Plugins' menu in WordPress.

  3. Add products on the option page.

  4. Place [NoShop <category name>] in your page.

FAQ

Q. Why is this so clunky
A. This plugin is still in BETA. Please feel free to visit my page and submit some comments and suggestions :-)

Q. Are there other plugins that works!
A. This works! I am currently using it in a live environment - however - it IS clunky...

I wrote is because I couldn't find any other plugins that does the same (simple list of products - no shopping cart - no fancy setup).

If you find a solution that's easy to use, feel free to tell me and I'll happily stop wasting my time re-inventing the wheel :-)

Changelog


0.1

  • Copied hello.php

0.2

  • Created functions to show database contents in list

  • Created CSS

0.3

  • First version of admin page

0.4

  • New and improved admin page

0.4.1

  • Error fix: Added 'static' to NoShop::Products()

  • Updated this readme.txt

0.4.2

  • Updated options page: Moved 'Create Product' to a button rather than a checkbox.

0.4.3

  • Updated options page: Add specification button added

  • Updated options page: Showing thumbnail picture preview

0.4.4

  • Added default image to settings.

0.4.5

  • Added screenshots.

0.5

  • Fixed small errors.
  • Fixed versioning.
  • Added imgurlmode field to DB (DB now version 0.5!)
  • Fixed ' != ` error in dbDelta that prevented DB upgrade!

0.5.1

  • Redesigned options screen to more compact format.

0.5.2

  • Moved output to template based output. Plugin now uses html templates and css for all formatting.
  • Template per item: table.template.html
  • Template per specification: subtable.template.html
  • Keep templates in plugin directory.
  • ONLY HARDCODED TEMPLATE for now. Later I'll add selectable :-)

0.5.3

  • Uh oh. DB didn't update. Temporary fix in there. Plz ignore update error - it's not real :-)

 

65 Responses to NoShop

  1. Chris M. says:

    Hello there…

    What does this plugin do exactly? Is there any documentation?

    Thanks!

  2. admin says:

    Still early version, I only released it for comments and because several people was looking for a solution like this… which is:

    “I have a number of items I want to display on a product-page/shopping-cart-LIKE page, but I don’t want to install and maintain a full shopping cart.”

    Documentation is on the way, right now it’s just for preview/test (although it DOES work :-)

    j-

  3. hadi says:

    may i know if this plugin compatible with wordpress version 2.8 ++ or not?

    is there any screen shot available?

  4. [...] of the Universe HomeWordPressNoShop PluginBlogDownloads Assembly generation failed — Referenced assembly does not have a strong [...]

  5. hadi says:

    still waiting for the documentation..abit afraid to try it coz i dunno whether it compatible with wordpress version 2.8.2. nevertheless im hoping this is the plugin that i’ve been searching for.

    • I dont have a 2.8.2 test bed available :-( , but I don’t think I am using any 3.0 + WP features. If I can find the time one day I’ll see if I can install a 2.8.2 version.

      (But, you really should upgrade… 3.0 is awesome :-)

  6. hadi says:

    i’ve already download and activate the plugin on my wordpress page.seems the plugin installation is ok. waiting for the your documentation and some screen shot . thanks!

  7. Witek says:

    Hi, great work on the plugin. It’s working really well for me (I changed the output list format to be a table and am currently trying to add a field to the product form). I just want to know, how do I delete a product? :)

    • admin says:

      Thanks :-)

      In my todo list is custom template for the output, so if you have a good looking end result I wouldn’t mind including it with the plugin.

      Regarding deleting – you use the magic button. It’s magic because it’s not in the code yet, but is also on my todo :-) I will see if I can get that part pushed out today.

      • Witek says:

        I don’t mind sharing my template, but I don’t think it will prove usefull as it is strongly customised to fit into an existing layout.

        I wish there was a way of adding a field to the template (but not in the specification section so it would be permanent).

        • admin says:

          I’ll add it to the list :-)

          (Which reminds me I should create a public wish list… I’ll add that to the list as well…)

          • Witek says:

            Aaand, you propably already thought about it, but anyway, it would be a good idea to somehow separate the output template and configuration from the “engine”. This would enable updating the plugin without loosing customisations made to it.

            I hope I’m not too obnoxious with my suggestions :)

  8. Ermsy says:

    hi there
    I’m new to wordpress this week and have really struggled to find anything like this. There are many post about it elsewhere but this is the only solution I found.

    I need to add a list of less than 10 properties to my site with their own separate pages but no shopping cart.

    Many thanks, I will download and test this.

    • You’re welcome – I had exactly the same problem, which is why I wrote it in the first place. I am using it currently on a live site, but it IS still in development so any comment and/or suggestions would be appreciated :-)

  9. G says:

    I have set up plugin where is the options page please???

  10. Samuel says:

    The features in this widget is exactly what I need but it doesn’t work out for me. When I insert the script: [NoShop ] into the page nothing shows up. At least the tin tin ought to be seen, but nothing. Is someone else having the same problem?

  11. SolarAngellis says:

    hey , ive uploaded ur plug in , and i get some fatal error

    Plugin could not be activated because it triggered a fatal error.
    Parse error: parse error, unexpected T_OBJECT_OPERATOR in /cms/wp-content/plugins/multilevel-menu-fx/multilevel-menu-fx.php on line 35

    if you can help me out with this , im using wp under yahoo hosting …

    need advice

  12. Silvia says:

    Thanks for this plugin! I’ve just installed it and I think it’ll be very useful :)
    Is there any guide somewhere on using it?

  13. Aaron G says:

    Seriously, this is wonderful.

    I edited it slightly to put the product descripts next to images.

    ” “.
    ” “.
    ” “.
    ” “.
    ” “.
    url . “\” />”.
    ” imgurl ? $myrows->imgurl : $options['defimg'] ). “\” />”.
    “.
    ” “.
    ” “.
    ” “.
    ” “.
    url . “\” />”.
    ” ” . $myrows->title . “”.
    “.
    ” “.
    ” ” . $myrows->description . “”.
    ” “.
    NoShop::createsubtable($myrows->id).
    ” “.
    ” “.
    ” “.
    ” “.
    ” “;

  14. philippe says:

    I hope the option to delete a product like mentioned above will be added soon.

  15. Anwar Qasem says:

    Hello,

    I’ve added this plugin, but I have one small question.

    I want on the front page to display 3 random products from 6 categories … it’s there any way to do this ?

    Thx.
    Anwar

  16. hubba says:

    Hi
    i think it is the perfect plugin for what i want to do.
    unfortunately it dont seem to work. i enter the name und so on, hit the update-button and i see the emty form again….

    can you help me?

  17. Stephan says:

    Hi,
    Nice plugin! I only have a problem with the pictures. Safari shows the pictures but Internet Explorer not (not even an error). I could live without Internet Explorer but it is still highly used.

    Also might it be possible to see the pictures besides the text say on the left or right side?

    Tnx, Stephan

  18. Brett says:

    Is it possible to add media. Such as pdf of products specs.

  19. Pankaj Rathod says:

    Thanks for the plugin,
    is there any way we can put pagination? I am new in wordpress and php so do not know much about how to customize it.

  20. Can you help? I’m getting the error Warning: Invalid argument supplied for foreach() in /mydirectory/mydomain.com/wp-content/plugins/noshop/noshop.php on line 365 When trying to update add a product. Also the product just repeats the same info although I have created a new Category and Title.

    WordPress 3.1.1
    Anamika 1.1 Theme

  21. Steven Deeds says:

    I will be keeping a very close eye on the dev of this plugin. This will be very useful.

  22. Barbara Ling says:

    I’m getting the same error – “Invalid argument supplied for foreach()” – has there been a fix released? If so, would love to promote the plugin on my site after I get it up and running….

  23. edward liu says:

    Also getting the same error:

    Warning: Invalid argument supplied for foreach() in /mydirectory/mydomain.com/wp-content/plugins/noshop/noshop.php on line 365

    Any way to fix it?

  24. Greg says:

    This plugin sounds like it’s exactly what I need, but I am getting the same error on line 365.

    Any progress?

  25. precios says:

    Any one tried to use a gallery plugin for the same purpose ?

    Does NOshop plugin have prices on it ?
    Does it work or not ?

  26. Jen says:

    I’m new to wordpress so need some help! I’m trying to add a ‘contact me for more info’ link with each product. Where in the php can I add this in html as i cant add html in the specification boxes?

  27. Stefan says:

    I also get the error: Warning: Invalid argument supplied for foreach() in /wp-content/plugins/noshop/noshop.php on line 365. Which is too bad, because it sounds just like he solution to my problem. Maybe some other plugin that does the same job? I am unable to program, so I cannot help…

    But thanks for all the effort, it sure is appreciated!

  28. Laura says:

    Hi, first of all thanks for building this plug in. Second, I’ve downloaded it but when I try to activate it I get this error “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /usr/local/pem/vhosts/109668/webspace/siteapps/21517/htdocs/wp-content/plugins/noshop/noshop.php on line 86″

    I have WP 3.2 – Would you be able to help in any way? I haven’t got a clue!
    Thanks! And any prompt reply would be very much appreciated!!!! Again, thanks for your time. Laura

  29. Laura says:

    Sorry! I don’t know if it’s important, but I’m using WP version WordPress 3.1.3. for now. I can update to 3.2 but haven’t done that yet! Cheers! Laura

  30. Hey sorry everyone who has been commenting here… I had a baby in December so I’ve been (kinda) busy :-)

    Things are getting better so I’ll see if I can get around to all the fixes you guys been suggesting.

  31. it’s really helpful. thanks a lot .
    I wish you post a blog and learn us how it works and how can I built some plugins like this and develop your plugin.

  32. Jan says:

    Hi all,
    I downloaded this plugin, but i have a few quistions,

    First of all, i would like the details next to the picture not under it and second if i place more then one product on th page it copys the firts one,( i cabt place more products o one page.

    Can you help me plz

    Many thx jan

  33. Kim Vigsbo says:

    Hello Jesper,

    As a fellow Dane (been in the US since 1994), WordPress designer and PageLines user I would like to offer you my help in finalizing your NoShop plugin. There is a great need for it and with some redesign and final development, it could become a great product.

    Let me know if you are interested!

  34. Pak Ho says:

    See This Tutorial
    fix the noshop/noshop.php on line 365
    http://www.pakhobook.com/archives/721

  35. kevin says:

    Has anyone found a fix for IE not showing images? Great plugin, but need IE.

  36. Steve says:

    Ok…

    Like a lot of others, I have to say that this looked like exactly what I have been searching for. So I installed it, finally found the options page…and now what?

    I haven’t got the slightest idea what to do next. Is there anything like a basic tutorial, anywhere?

  37. aristos says:

    Great idea. Thanks a lot! Exactly what I was looking for.
    It takes a bit of time to get around it but then it start to make sence.

    One thing thought: If you can’t remove items, it is absolutely unusable.
    Do I miss something? Is there another way of deleting products? Any feedback much appreciated.

  38. Tre says:

    Does anyone has a working version of this plugin so I can apply it to my wordpress web design and development site at http://selectiveform.com ?

  39. kizmo says:

    Hi!
    First of all many thanks for building this plug in – it is really simple to maintain, but I have a little question – is there a possibility to show products from all categories at one page?

  40. Gayan Hewa says:

    Hi,

    Warning fixed : Warning: Invalid argument supplied for foreach() in /mydirectory/mydomain.com/wp-content/plugins/noshop/noshop.php on line 365

    Please download and replace noshop.php with http://dl.dropbox.com/u/45532266/noshop.php

    I have only added a new if condition on the line 365 , you can diff the file with the original file that comes with the plugin for security issues ( If i include a back door to your server :P )

    Hope this helps !

    Regards,

    Gayan

  41. Alex Peeters says:

    Before every produict ‘ï»’ is displayed, why?

  42. javedb says:

    I’m getting some ‘funny characters’ displaying when I copy content from an excel spreadsheet and other sources at point of publishing an entry.

    Any suggestions?

  43. Alex Peeters says:

    HAVE YOU MET Ï»¿ ? SAY HELLO TO MY BOM
    So what is this mysterious sequence ? Well, lets check the ISO-8859-1 character encoding, commonly known as ‘Latin alphabet’ and often confused with the Windows code page 1252: ï is the character corresponding to 0xEF (decimal 239), » is 0xBB (decimal 187) and ¿ is 0xBF (decimal 191). So the mysterious sequence is 0xEFBBBF. Does it look familiar now? It should, this is the UTF-8 Byte Order Mark. Moral: if you consume and parse XML, make sure you consume it as XML, not as text. All XML libraries I know of correctly understand and parse the BOM. The problems can be from ‘parsers’ that treat XML as a string (and most often fail to accommodate namespaces too…).

    Can you fix this problem please?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>