Skip to content

Instantly share code, notes, and snippets.

@hack-club-zz
hack-club-zz / Course Notes.md
Created November 29, 2024 19:37 — forked from Pen-y-Fan/Course Notes.md
Laravel E-Commerce Restful API

Laravel E-Commerce Restful API

uDemy

The source code is on github bitfumes/api

Notes & disclaimer

  • The purpose of these notes are to follow the above tutorial, making detailed notes of each step.
  • They are not verbatim of the original video.
@hack-club-zz
hack-club-zz / EloquentCheatSheet.md
Created November 21, 2024 17:23 — forked from avataru/EloquentCheatSheet.md
Eloquent relationships cheat sheet
@hack-club-zz
hack-club-zz / Category_Attributes.sql
Created November 7, 2024 07:57 — forked from grafikchaos/Category_Attributes.sql
Magento EAV SQL Queries
SET @entityid = 5; -- category's ID
-- Select varchar/string based category attribute values
SELECT ea.attribute_id, ea.attribute_code, eav.value AS 'value', 'varchar' AS 'type'
FROM catalog_category_entity e
JOIN catalog_category_entity_varchar eav ON e.entity_id = eav.entity_id
JOIN eav_attribute ea ON eav.attribute_id = ea.attribute_id
WHERE e.entity_id = @entityid
-- Select integer based category attribute values (includes boolean values)
UNION(