Skip to content

Commit

Permalink
Merge pull request #1 from devansh-webkul/master
Browse files Browse the repository at this point in the history
Latest Facade And Helper Support
  • Loading branch information
cagartner authored Feb 10, 2021
2 parents a81c4f2 + 06a2bb0 commit ebc8045
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Resources/views/links/pinterest.blade.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage')
@php
/**
* @var Webkul\Product\Models\ProductFlat $product
* @var string $message
*/
$productBaseImage = $productImageHelper->getProductBaseImage($product);
$productBaseImage = productimage()->getProductBaseImage($product);
$image = $productBaseImage['medium_image_url'] ?: asset('vendor/webkul/ui/assets/images/product/meduim-product-placeholder.png');
$url = route('shop.productOrCategory.index', $product->url_key);
$pinterest_url = 'https://pinterest.com/pin/create/button/?' . http_build_query([
Expand Down

0 comments on commit ebc8045

Please sign in to comment.