Skip to content
Avetti Support
Avetti Support

Getting Started

  • Getting Started, Creating a new Supplier store in a marketplace
  • Access Methods for Admin Portal
  • Scanning QR Codes: A Step-by-Step Guide
  • ImageKit – Clearing Cache
  • How to setup a separate checkout on the marketplace
  • Getting Started Create a new Container store
  • Getting Started eShop
  • Getting Started Marketplace
  • Getting Started Multi Store Ecommerce
  • Getting Started With Website Performance
  • Getting Started With Google Analytics
  • Getting Started With Microsoft Clarity
  • Differences between Avetti Commerce, Magento, Shopify, and Woocommerce.
  • A Comprehensive Guide to Web Accessibility: Key Aspects and Top Testing Tools
  • a Comprehensive Guide to Web Accessibility Testing
  • HOW TO IMPLEMENT IMAGEKIT CUSTOM LOADER

Admin Pages

  • Create a New Supplier Store
  • Setup the Template/Default stores
  • Log in to a Supplier store
  • Avetti Shop Connect
    • Fulfillment
    • Supplier Connect / Reseller Registration Form
    • Shop Connect / Supplier Registration Form
    • Shopify 
    • Magento
    • WooCommerce
  • Catalog and Order Management
    • Catalog
      • Find Products to Sell
      • Prices
      • Manage Products
        • Products
        • Create Product
        • Edit Product
        • Edit Product Variations
    • Orders
      • Manage Orders
      • Quote Request
  • About Me
    • General Information
    • Pickup Locations
    • Payment Information
  • Marketplace
    • Auction
    • Design Document for Auction Platform
  • Appendix
    • Documentation Slides
      • About Me
      • Add Items – Suppliers
      • Create a Merchant Store
      • Customers
      • Manage Orders – Supplier
      • Prices – React Admin
  • Avetti Supplier Connect
    • Shopify

System Admin Pages

  • Avetti Commerce Features
  • Ship Station Integration
  • B2C -Overview
    • Settings
      • Basket Preferences
      • Image Scaling
      • Item Properties
      • Languages
      • Tax Rates
      • Order Preferences
      • Page Parameters
      • Payment Gateways
      • Retail Location
      • Search Dictionary
      • Shipping Countries
      • Shipping Packages
      • Shipping Rates
      • Sitemaps
      • Store Currencies
      • Shipping Exceptions
      • Store Preferences
      • Store Properties
    • Advanced
      • Solr Items
      • Solr Categories
      • Site Admin Preferences
      • Shopper Pwd Security
      • Reports Configuration
      • Password Security Rules
      • Change Password
      • CDTO Editor
    • Audit Logs
      • Audit Log Views
    • Templates
      • Catalog Personalization
      • Reset CDTO Cache
      • Template Skins
    • People
      • Member Types
      • Customers
      • Customer Properties
      • Customer Activity
      • Allowances
    • Catalog
      • Categories
      • Downloadable Items
      • Inventory
      • Item Reviews
      • Item Size/Weight
      • How to attach products to a category in the MCW
      • Manage Facets
      • Manage FAQs
      • Manage Galleries/PDFs
      • Manage Products
      • Multilingual Content
      • Prices
      • Validate Catalog Data
      • View Store
      • Variations
    • Media
      • Manage Media
    • Marketing
      • A/B Split Tests
      • Add-ons
      • Basket Additions
      • Bundles
      • Coupons
      • Customer Discounts
      • Customer Segments
      • Customer Segment Prices
      • Customer Segment Ads
      • Gift Cards
      • Gift Certificates
      • Promotions
      • Sales Area Geolocation
      • Upsell/Cross-sell
      • Viral Promotions
    • Orders
      • Abandon Cart
      • Customer Messages
      • Email State
      • Manage Orders
      • Manage Refunds
      • Reports
  • B2B - Overview
    • Marketplace
      • Advanced
        • CDTO Editor
        • Change Password
        • Password Security Rules
        • Reports Configuration
        • Shopper Pwd Security
        • Site Admin Preferences
        • Solr Categories
        • Solr Items
      • Catalog
        • Categories
        • Inventory
        • Item Reviews
        • Item Size/Weight
        • Manage Facets
        • Prices
        • Item Options
        • Item Status Settings
      • Marketing
        • Bundles
        • Coupons
        • Customer Discounts
        • Customer Retargeting
        • Customer Segment Ads
        • Customer Segment Prices
        • Customer Segments
        • Gift Cards
        • Gift Certificates
        • Marketing Segments
        • Sales Area Geolocation
        • Shipping Exceptions
        • Upsell/Cross-sell
        • Viral Promotions
      • Market Place
        • Approve Products
        • Category Profit Margin
        • Marketplace Categories
        • Marketplace Payments
        • Marketplace Suppliers
        • Master Catalog Products
        • Notifications
      • Media
        • Manage Media
      • Order
        • Manage Orders
        • Manage Refunds
      • People
        • Customer Properties
        • Customers
      • Settings
        • Item Geolocation / Product Segmentation
        • Basket Preferences
        • Image Scaling
        • Item Properties
        • Order Preferences
        • Payment Gateways
        • Retail Location
        • Tax Rates
        • Store Preferences
        • Store Currencies
        • Shipping Countries
      • Templates
        • Catalog Personalization
        • Reset CDTO Cache
        • Manage Templates
    • Suppliers
      • Catalog
        • Manage Products
        • Inventory
        • Item Properties
      • Market Place
        • Notifications
        • Marketplace Payments
        • Approve Products
      • Media
        • Manage Media
      • Order
        • Manage Orders
        • Manage Refunds
        • Reports
        • Customer Messages
    • MCW
      • Advanced
        • Change Password
      • Market Place
        • Approve Products
        • Marketplace Suppliers
        • Notifications
      • Media
        • Manage Media
      • Order
        • Customer Messages
      • Settings
        • Item Properties
        • Shipping Countries
        • Store Currencies
        • Store Preferences
      • Catalog
        • Categories
        • Inventory
        • Item Options
        • Item Reviews
        • Item Size/Weight
        • Item Status Settings
        • Prices
  • B2B2C - Overview
    • B2B Integration
  • Import and Export Files
    • Export Orders
    • Import Price and Inventory
    • Importing/Exporting Shipping Rates Spreadsheet
    • Import/Exporting SpreadSheets
    • eShop Features
  • Appendix
    • Documentation Slides
      • Others
        • Creating a Supplier Store
        • Rebuild solr
        • Publish
      • People
        • Customer Data Management
        • Customers
        • Customer Properties
      • Settings
        • Basket Preferences
        • Item Properties
        • MULTI-VALUED PROPERTIES
        • Retail Location
        • Shipping Countries
        • Sitemaps
        • Store Currency
        • STORE PREFERENCES
        • Store Properties
        • Tax Rates
      • Advanced
        • Site Admin Preferences
      • Reports
        • Business Reports
      • Catalog
        • Advanced edit
        • Categories
        • Categories Spreadsheet
        • FREQUENTLY BOUGHT ITEMS
        • Import from XLS
        • Import-Export Advanced Spreadsheet
        • Inventory
        • Item Reviews
        • Manage Facets Manager
        • Simple Add
        • Prices
        • Validate Catalog Data
        • Variations
      • Marketing
        • Bundles
        • Basket Additions
        • Coupons
        • Customer Discounts
        • Customer Segments
        • Gift Cards
        • Gift Certificate
        • Promotions
        • Upsell-Cross sell
      • Marketplace
        • Approve Products
      • Templates
        • Reset CTDO Cache
      • Orders
        • Customer Messages
        • Export Orders
        • Email Settings
        • Manage Orders
        • SMS Settings
    • Documentation Videos
      • Payment Gateway
      • Retail Location
      • Validate Catalog Data
      • Site Admin Preferences
      • SMS Settings
      • Advanced Edit
      • Variations
      • Manage Orders
      • Categories
      • Basket Preferences
      • Customers
      • Upsell Cross Sell
      • Allowances
      • Customer Discounts
      • Order Preferences
      • Publish
      • Rebuild Solr
      • Email Setting
      • Store Preferences
      • Item Reviews
      • Tax Rates
      • Customer Segments
      • Store Currency
      • Product Data Spreadsheet
      • Export Orders
      • Sitemaps
      • Prices
      • Coupons
      • Bundles
      • Frequently Bought Items
      • Customer Properties
      • Store Properties
      • Multi Valued Properties
      • Gift Cards
      • Promotions
      • Manage Media
      • Gift Certificates
      • Manage Facets
      • Simple Add
      • Import and Export Using Spreadsheet
      • Customer Messages
      • Creating a Supplier Store
      • Approve Products
      • Import XLS
      • Business Reports
      • Item Properties

Content Management Systems

  • WordPress
    • Getting Started
    • Document Checklist
    • How to create pages in Wordpress?
    • How to create New Menus?
    • How to edit the Home Page?
    • How to change Favicon and Site Title?
    • How to edit Header and Footer?
    • How to change Header and Footer?
    • How to edit Shipping Policy, Refund Policy and Privacy Policy pages?
    • How to add Google Analytics and Microsoft Clarity
    • Using Existing WP vs Using Fresh WP
    • How to change Logo URL
    • How to create Blog Posts?
    • Blog Look And Layout
    • Netlify Redirects
    • Caching Issues
    • Plugins
    • Plugins
      • Fluent Forms
      • Perfmatters
      • Blocksy
      • Change SEO Title and Meta Descriptions with Yoast SEO
      • Staging and Backup with WPVivid
      • Stackable
      • Custom Javascript and CSS plugin
    • Common Issues
      • Does Not Use Passive Listeners
      • Enable Text Compression
      • Preload Largest Content Paint Image
View Categories
  • Home
  • Docs
  • Settings required to show the store banner and hide the “Add to Cart” button

Settings required to show the store banner and hide the “Add to Cart” button

1 min read

Stores page banner #

On O4B and other marketplaces, we display a banner based on the vendor’s settings:

  • “Shop Our Catalog” if the vendor has products listed and available for purchase.
  • “Learn More” if the vendor has a WordPress site.
  • There is no banner if the vendor has no product listings or a WordPress site.

Here is an example of how it will look:

Uservice call examples:

https://ofb11ca2.avetti.ca/preview/uservices/1.0.2/category-page/20180521148/cid/72181/lang/en/page/1/showperpage/16/&SEL1=20201229532

https://creemorefarmersmarket.avetti.io/preview/uservices/1.0.2/category-page/20200929202/cid/435645/lang/en/page/1/showperpage/16/&SEL1=20210503981

Show Banner conditions: #

The conditions for displaying the banners on the store page involve the `WP_STORE_NAME` and `STORE_CATALOG` store item properties:

1. Display Shop Our Catalog Banner:

  • If `WP_STORE_NAME` exists and `STORE_CATALOG` is “yes”.

2. Display Learn More:

  • If `WP_STORE_NAME` exists and `STORE_CATALOG` is “no”
  • or if `WP_STORE_NAME` does not exist and `STORE_CATALOG` is “no”.
  • `STORE_CATALOG` should be “no” when products are unavailable for purchase.

3. Do not display a banner:

  • If neither `WP_STORE_NAME` nor `STORE_CATALOG` is present.

Show Add to cart button conditions: #

For certain vendors, we need to hide the “Add to Cart” button on the category and product pages.

Here’s what we need to do to achieve this:

  1. On the category page:

The vendor store setting must be SupplierProductListingLevel = 1 of Product Cannot be ordered.

  1. On the product page:

The product must be set to ‘discontinue’ on the inventory record


What are your Feelings
Still stuck? How can we help?

How can we help?

Updated on July 29, 2024

Powered by BetterDocs

Table of Contents
  • Stores page banner
  • Show Banner conditions:
  • Show Add to cart button conditions:

Copyright © 2022 Avetti.com Corporation.