How can I getting only the number id of the product in shopify using graphql and laravel app

How can I getting only the number id of the product in shopify using graphql and laravel app


0

This is my routes

Route::get(‘/carts/{numericProductID}’, ‘AppHttpControllersShopifyController@showProductDetails’)
->name(‘showProductDetails’);

This is the link to direct to other page to show/fetch the details of the selected product

<a href="{{ route('showProductDetails', ['numericProductID' => $product['node']['id']]) }}">View Details</a>

1

  • What is the exact issue? please provide more context regarding your question.

    – Mit Kathrotia

    13 mins ago


Load 6 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *