Method |
Description |
|
changeStatus ( integer $id ) : Response |
Change status a Product. |
|
create ( ) : Response |
Show the form for creating a new resource. |
|
deleteImg ( Illuminate\Http\Request $request ) : string |
delete image file. |
|
destroy ( integer $id ) : Response |
Remove the specified resource from storage. |
|
downloadExample ( ) : string |
dowload file txt example. |
|
edit ( integer $id ) : Response |
Show the form for editing the specified resource. |
|
getFeatures ( array $data = [] ) : [type] |
getFeatures
Allows consulting products features. It can return either a required feature or a full array. |
|
getRandCategoryId ( ) : [integer] |
To get a existing category id from products. |
|
getSuggestions ( $data ) : [array] |
To get the products suggestion, taking in account either the preference key, such as
(product_viewed, product_purchased, product_shared, product_categories, my_searches), or all of them. |
|
getTagsCategories ( $tags = [] ) : [array] |
Get the category id from tags array. |
|
getTopRated ( [integer] $point = '5', [integer] $limit = 5, [boolean] $tags = false ) : [array |
This method is able to return the higher rate product list, everything will depends of $point parameter. |
|
index ( Illuminate\Http\Request $request ) : Response |
Display a listing of the resource. |
|
myProducts ( Illuminate\Http\Request $request ) |
|
|
searchAll ( Illuminate\Http\Request $request ) : [type] |
[Search products in auto complete fields]. |
|
setCounters ( [object] $product = null, [array] $data = [], [string] $wrapper = '' ) |
Increase the product counters. |
|
show ( integer $id ) : Response |
Display the specified resource. |
|
store ( Illuminate\Http\Request $request ) : Response |
Store a newly created resource in storage. |
|
update ( integer $id, Illuminate\Http\Request $request ) : Response |
Update the specified resource in storage. |
|
upload ( Illuminate\Http\Request $request ) : string |
upload image file. |
|
upload_key ( Illuminate\Http\Request $request ) : string |
upload the keys file in txt format. |
|
upload_software ( Illuminate\Http\Request $request ) : string |
upload the software file in txt format. |
|