qaharmdz / opencart-shortcodes Goto Github PK
View Code? Open in Web Editor NEWShortcodes for OpenCart
Shortcodes for OpenCart
Surprisingly, I can't output the html-content module using a short code.
Maybe you should add this functionality, because it can be useful in some situations.
Sorry if this may not the correct thread, but i cannot see another one for a discussion like this.
Basically I welcome that your scripts are following better coding practices and do not use a closing tag.
But what I am missing (and I used to do that since many years as developer) are tags like the phpDocumentor use.
This starts at the beginning of each script where I can see quick from when this script is (last commit) - if correct tags are used.
Maybe these tags could be used in future?
How about add 'group' option to login method ? so we can target specific group
PHP8 introduced a breaking change with the way is_callable
works (https://www.php.net/manual/en/migration80.incompatible.php). The change prevents non-static methods from being queried as a static method and shortcodes utilises a static query.
As such
if (is_callable(get_class($class).'::'.$func)) {
Needs to be updated to:=
if (is_callable([$class, $func]) {
i need to get a self title from product and display it in product description
how to get self product id?
[link_product id="self" /]
In http://qahar.github.io/opencart-shortcodes/install.html
Require vQmod is v2.3.2 or above
it should be 2.4.0 , because you using static call VQMod::modCheck
Example image shortcode
[image src="catalog/demo/compaq_presario.jpg" img_w="300" img_h="184" alt="compaq-presario-2014" align="center" /]
If PHP 7.1 is installed on the server, an error occurs.
Warning: A non-numeric value encountered in system/helper/shortcodes_default.php on line 364
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.