Categories
CMS Magento Mastering Development

Delete all products and categories Magento 2

I am using those requests to delete all products and categories and reset databases tables, it works fine and everything is cleared correctly but problem when I import products using csv products are not showing in the frontend, already reindexed, cleared cache … the view inventory_stock_1 existe but with nothing inside. Have I missed something […]

Categories
Mastering Development

How do I split the data in the column while loading in neo4j using neo4j-admin import?

I am trying to import 2 csv files where 1 has nodes and another has relationship. In relationship, I have a column where data needs to be splitted. I tried using –array-delimiter=’|’ but I get an error. I was hoping if someone could help me with this issue. node.csv identifier:ID,name:LABEL 1,apple 2,ball 3,cat rel.csv source_ids:START_ID,target_ids:END_ID,type:TYPE,data […]

Categories
CMS Mastering Development Wordpress

Custom WP_Query not acknowledging search category & tag at the same time, but work independently

I have elaborate search functionality on one of my sites, it is using a custom WP_Query that will allow for an ‘AND’ & ‘OR’ relation between the users selections. It will then generate the result and overwrite the existing products in the product list. This is all being done using AJAX and a function within […]

Categories
Development

How to filter arrays in a JSON by multiple tags

I’m rendering in React a list of images from a Json like this one { “images”: [ [“c8483f65-f67f-48d9-a0f8-78da8f66115d”, “Image 0”, “https://cdn.shibe.online/shibes/2293625f8b5e74478e51434fbbe158b43f17b04f.jpg”, [“servant”, “shoes”]], [“4d22a5b7-079d-4f1c-9eba-570165c1f6b1”, “Image 1”, “https://cdn.shibe.online/shibes/4cc3559217012e477a674862f13d4ac533733cff.jpg”, [“screw”, “restaurant”]], [“acd3b528-3c56-41c9-a2bc-6094a55e21be”, “Image 2”, “https://cdn.shibe.online/shibes/6e817b4032beccbd7a3c93dc3b7e1f771e15aaec.jpg”, [“cub”, “relation”]], [“fca42de6-0eb1-4449-ab91-61b558c7b972”, “Image 3”, “https://cdn.shibe.online/shibes/d14e008e2aa18bcae592c5e16968050e7ca5ed43.jpg”, [“condition”, “butter”]], [“73fa77dd-6ec6-4f4d-a991-1bc6b59fb5fa”, “Image 4”, “https://cdn.shibe.online/shibes/2ca352bdf59566dbffef94724a192713f8970437.jpg”, [“zoo”, “wheel”]], [“34982d91-d537-4bc0-a481-028879a22c27”, “Image 5”, “https://cdn.shibe.online/shibes/6e7e3e6a60dcd4b27ac6940a8f44893010f171e4.jpg”, [“way”, “chess”]], [“4bdc55e4-937a-4208-aff3-981776a2404e”, “Image […]