This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if($validator->fails()){ | |
return Response::json(['error' => 1, | |
'msg'=>$validator->errors() | |
]); | |
} | |
else{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function uninstall() | |
{ | |
/*$authnetpm = PaymentMethod::getByHandle('auth_net'); | |
if(is_object($authnetpm)){ | |
$authnetpm->delete(); | |
} | |
$invoicepm = PaymentMethod::getByHandle('invoice'); | |
if(is_object($invoicepm)){ | |
$invoicepm->delete(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$attributes = $productAttributes | |
->pluck('attributesValues') | |
->flatten() | |
->unique() | |
->groupBy(function (AttributeValue $av) { | |
return $av->attribute->name; | |
}) | |
->map(function (Collection $collection) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" class="wf-lato-i7-active wf-lato-n9-active wf-lato-n4-active wf-lato-i4-active wf-lato-n7-active wf-lato-i9-active wf-active gr__local_venuesearchlondon_com"><head> | |
<!-- Google Tag Manager --> | |
<script type="text/javascript" async="" src="https://widget.intercom.io/widget/lph7i9kd"></script><script src="//bat.bing.com/bat.js" async=""></script><script src="https://connect.facebook.net/signals/config/1148453628554257?v=2.8.14&r=stable" async=""></script><script async="" src="https://connect.facebook.net/en_US/fbevents.js"></script><script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script async="" type="text/javascript" src="http://www.googletagservices.com/tag/js/gpt.js"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-TVMQMR"></script><script>(function (w, d, s, l, i) { | |
w[l] = w[l] || []; | |
w[l].push({ | |
'gtm.start': | |
new Date().getTime(), event: 'gtm.js |