Hello, It has been a while since my last post about Gotenberg but I think the last major update might interest some of you 🙂 Gotenberg is a simple API for converting HTML, Markdown and Office documents to PDF. It is shipped within a Docker image, so it should be […]
Daily Archives: November 21, 2019
I need to place every category in a separate category column. Like Category_1, Category_2, Category_3….. $categoryIds = implode('|', $product->getCategoryIds());//change the category separator if needed $cat_name = array(); $cat_array = $product->getCategoryIds(); for($k = 0; $k < count($cat_array); $k++) { $id = $cat_array[$k]; $cat->load($id); $cat_name[] = $cat->getName(); } $_cate_name = implode(',', $cat_name); […]
We have a multi store running with Magento 2 and sometimes when we try to load the homepage it shows the JSON below instead of the home page, it only works again if we clean cache. Strange enough is that if we try to navigate in any other page of […]
After updating Magento 2.1 to Magento 2.2 I get the following error when saving a client. I have seen that in the customer_eav_attribute table the data has not been updated correctly to the new version. For exemple, I have: a:2:{s:15:”max_text_length”;i:255;s:15:”min_text_length”;i:1;} And in version 2.2 it is necessary to have: {“max_text_length”:255,”min_text_length”:1} […]
I’m trying redirect to the login when some guess user press the add cart button and he is not registered. But i can’t do it. I am usin a Observer, with the following event this is my /app/code/vendor/module/etc/frontend/event.xml event.xml < ?xml version="1.0"?> and my Observer/app/code/vendor/module/Observer/ForceLogin.php ForceLogin.php < ?php namespace vendormoduleObserver; […]
What is the difference between map vs path when building a theme / module? Which are the restrictions? var config = { map: { '*': { 'jqueryjs': 'India_Newtheme/js/jquery', 'bootstrapmin': 'India_Newtheme/js/vendor/bootstrap.min' } }, paths: { 'jqueryjs': 'India_Newtheme/js/jquery', 'bootstrapmin': 'India_Newtheme/js/vendor/bootstrap.min' } };
My windows 10 Dell machine is stuck on screensaver screen. I can press keyboard buttons (keyboard lights work) and I can click mouse but it seems to be processing something in the background and does not bring up the login screen. How can I find out what process or app […]