PHP Snippets
PHP snippets plugin allows the Store Owners (and developers) to easily add PHP code to their product, categories descriptions and information pages.
All snippet.
PHP files contained in the configured directory will be executable via a corresponding
[shortcode] witch can be modified. The source directory is configurable: you can put it anywhere on your server that you wish, e.g. you can enhance the security of your code by storing it outside your server's document root.
By keeping all the PHP code in PHP files, you ensure that your product and category pages remain clean. All available shortcodes are listed when the user clicks a custom drop box next to the text editor. Add shortcode to all or just few product with our BULK updater, you can edit position.
Also you can inspect all snippets in
System --> PHP snippets
FEATURES:
- Add shortcode to one or all products or categories with mass update option (bulk)
- Add shortcode to information pages
- Add shortcode with a single click to product or category description
- Add each short-code for multi language
- Edit one file to change a content of many products
- Easily add PHP code to the product descriptions
- Every available snippet will get its own short-code
- Activate/deactivate single snippet for products, categories or information pages
- Snippet preview in admin
- 5 premium snippets included
- Custom snippets- from 15$
- Multi language
- We will add some more FREE snippets
EXAMPLES:
- [add2cartoffer title='Checkout offer'][/add2cartoffer]
Will add add to cart special offer with configurable title 'Checkout offer'
- [inquiry id=123][/inquiry]
Individual inquiry for product to email
- [picture_label position=top label=0]Text here[/picture_label]
Add a label to the main product image (set position top or bottom). Can also set the discount icon: 10, 20, 30, 40, 50 (e.g. label=30, shows a 30% discount)
DEMO:
Admin (System -> PHP Snippets)
Front-end
REQUIREMENTS:
- OpenCart 1.5.1.x or higher
- VQMOD 2.x (https://code.google.com/p/vqmod/)
Login and write down your comment.
Login my OpenCart Account