Akifast
pz-akifast is a Project Zero plugin that provides a fast checkout experience with customizable buttons for both checkout and quick login scenarios.
Installation Method
You can use the following command to install the extension with the latest plugins:
npx @akinon/projectzero@latest --pluginsSetting the Visibility of Buttons
To customize button visibility, update your src/settings.js:
All buttons are visible by default.
module.exports = {
// other settings
plugins: {
// other plugin settings
'pz-akifast': {
quickLogin: false,
pdp: false,
basket: false
}
}
};Checkout Button Props
isPdp
boolean
Optional
Indicates if it's a product info page.
renderer
object
Optional
Custom rendering functions.
Quick Login Props
buttonText
string
Optional
Text displayed on the button.
isCaptchaVisible
boolean
Required
Indicates if captcha is visible.
captchaValidated
boolean
Required
Indicates if captcha is validated.
renderer
object
QuickLoginButton
Custom rendering functions.
Renderer Props Types
The renderer object allows you to fully customize the UI of both the checkout and quick login buttons:
Usage Examples
Both the CheckoutButton and QuickLoginButton can be customized using the renderer prop. This allows you to fully customize the appearance and behavior of these components while maintaining their core functionality.
Checkout Button
Summary:
Product Info:
Default Usage
Customized Usage with Renderer
Quick Login Button
Default Usage
Customized Usage with Renderer
Last updated
Was this helpful?

