Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@jetskis/sanity-plugin-headup
Advanced tools
This is a Sanity Studio v3 plugin.
Some link to the Shopify App
npm install sanity-plugin-headup
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {headup} from '@jetskis/sanity-plugin-headup'
export default defineConfig({
//...
plugins: [headup({
{
"apiKey": "[keyProvidedFromShopifyApp]",
"store": "yourshopifystore.myshopify.com"
}
})],
})
Then simply update any instance of image
in your sanity schema with type: shopifyImage
.
...,
defineField({
name: 'image',
title: 'Image ',
type: 'shopifyImage',
validation: (Rule) => Rule.required(),
}),
We also support uploading directly to a product image, this is useful if you don't want the client to worry about managing image assets in Shopify at all (You need an image for the cart and emails to be present in Shopify), you can pass options:
options: {
productImage: true,
productId: `store.id` // points to the field with the shopify product Id
},
'store.id' is the shopify product id field on the product content type, this assumes you're using the sanity-connect sync, if you're doing a manual sync make sure you specify the product id location in the document schema.
MIT © Kevin Green
FAQs
Uploads media assets to Shopify
The npm package @jetskis/sanity-plugin-headup receives a total of 0 weekly downloads. As such, @jetskis/sanity-plugin-headup popularity was classified as not popular.
We found that @jetskis/sanity-plugin-headup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.