| description | ||||
|---|---|---|---|---|
| + | fedex | - template error | A | |
| layout | - added sort by layout_id | C | ||
| paypal standard | - replace pp_standard payment module | C | ||
| + | sessions_gc.ocmod | - clean session table | C | |
| + | subtotal | - missing order | A | |
| + | usps shipping | - missing US Mail First Class | C | |
| + | ups shipping | - missing prefix (shipping_) | C | script |
REST API + Polylang
“… none of the offered feeds [RSS does – mine] seem to include information on the language of the content….”
“It is because Frédéric, polylang’s author has not set his taxonomy property ‘show_in_rest’ => true …”
“The plugin author is not planning to add this to the free version. The pro version will get something that could provide for this…”
function wpse_modify_taxonomy() {
// get the arguments of the already-registered taxonomy
$language_args = get_taxonomy( 'language' ); // returns an object
// make changes to the args
// in this example there are three changes
// again, note that it's an object
$language_args->show_in_rest = true;
// re-register the taxonomy
register_taxonomy( 'language', 'post', (array) $language_args );
}
// hook it up to 11 so that it overrides the original register_taxonomy function
add_action( 'init', 'wpse_modify_taxonomy', 11 );
It could be slow, it could be something else, but it works.
Source: How to know the language of a post through the WordPress REST API | WordPress.org
REST API – Adding Featured Images
Option for my OpenCart ‘Feed Display’ module to show latest news using REST API instead of RSS.
OpenCart 3 – comment of the year

это к обсуждению о sessions… ты говоришь ему (Даниле) о том, что есть проблема, а он тебе в ответ про синхронизацию времени…
Parsing HTML to find Links
Tutorial on using PHP to parse HTML files and extract links using pcre regex regexp regular expression patterns.
OC3 UPS shipping module fix
It seems to get fixed in 3.1+ version but, not in OpenCart 3.0. I’ve just created file, named mod-fixes.vqmod.xml and placed in /system directory, have been tired to create install for every POS.
Just create a file and copy/paste code or create install.xml and amke a mod. […]
OC3 Bug Session
That’s one of the biggest problem created with f… mind of the owner. As long as you play with a project, everything is fine, but in reality, you have a chance to get 400-900K records in your session table. […]
OC3 Bug SubTotals
I understand, that SubTotal is coming first, but guys, I do no not know what’s the f… problem to fix this simple bug… […]
OC3 Bug US Mail
This has been really bug since version 2+: no First Class mail available
Removed 1 day, 2 day, 3 day from US Mail. […]
OC3 Bug FedEx
Up to version 3.0.3.2 there is a bug (in template) in Admin/Shipping and you cannot save shipping options you selected […]


