Manual Installation =================== After application is installed, a store owner will receive an email with Punchout Cloud credentials. Depending on preferred format selected during onboarding step, the owner will receive cXML or OCI credentials and punchout URL. Punchout Session ---------------- A Punchout Session is a buyer session established by an eProcurement system (See: :doc:`/pages/platforms`) or our punchout simulator. Shopping Cart ------------- Once the buyer has visited Shopify store in Punchout Session, the user should see new Shopping Cart buttons labeled Cancel and Transfer Cart. If these button don't appear - it can be troubleshooted using Session Test, Theme Customization or Customization Config. .. image:: ../_static/images/manual/manual_app_checkout_cart.png :width: 60% Session Test ------------ To confirm a successful Punchout Cloud integration, we can simulate a session and check if the application is working correctly. In order to test, open a new window in your browser and open inspector console, then enter URL: https://your_shopify_store.myshopify.com/?punchout_sess_id=12345678901234567890123456789012 Where `punchout_sess_id` is simple string, consists from 32 symbols. If Punchout Session has been successful, you’ll expect to see the Punchout Session has initialized message in Console: .. image:: ../_static/images/manual/manual_app_page_console.png :width: 60% If this message does not appear - it is required to follow `Theme Customization` section. Theme Customization ------------------- If `punchout_sess_id` does not trigger the Punchout Session and no message has been initialized message in Console, you need to verify if Punchout Cloud integration has been complete successfully. First, review Source HTML of Shopify Store and make sure Punchout Cloud piece exists if HTML has been injected into HTML page. .. code-block:: html :caption: It is expected to find similar to following piece of Punchout Cloud HTML provided by Shopify Application: Here is example how to define it: .. image:: ../_static/images/manual/manual_app_page_html.png :width: 60% .. note:: If Punchout Cloud HTML has been defined on your theme page’s HTML on Store Front, then take a look at `Customization Config` section. In other cases - please, continue reading current section to define the problem and fix the issue. Login to Shopify admin panel and navigate to `Sales Chanel -> Online Store -> Themes -> Current theme -> Actions -> Edit Code`. .. image:: ../_static/images/manual/manual_app_themes.png :width: 60% In Code Editor need to pick `theme.liquid` in Layout section and verify if punchout snippet has been injected before the ending `` HTML tag. .. image:: ../_static/images/manual/manual_app_theme_template.png :width: 60% .. code-block:: html :caption: Example of code to inject it manually in case if it was not found inside the `theme.liquid` file: {% include 'punchout' %} Also need check in `punchout.liquid` exists in Snippets section of your custom theme. .. image:: ../_static/images/manual/manual_app_theme_snippet.png :width: 60% .. note:: If the `punchout.liquid` snippet does not exists - need to re-install Punchout Shopify Application or contact us for technical assistance. After `theme.liquid` and `punchout.liquid` are verified please repeat review source HTML. Customization Config -------------------- By default, the punchout application for Shopify provides support for `Simple` and `Debut` themes. If you are using a custom theme and don't see `Cancel` and `Transfer Cart` buttons in Punchout Session, then need to update `Transfer Cart Button Container Selectors` and `Cancel Button Container Selectors`. You’ll need to hide some elements in Punchout Session, then need to edit `Punchout Hide Elements Selectors` additionally. Here `Element Container` is a usual JS/HTML xPath to a target HTML container, where is expected to place new buttons. .. image:: ../_static/images/manual/manual_app_customize.png :width: 60% Take a look at an example of how to get a `Container Selector` using `Chrome` browser and it's embedded Element/Html Inspector. .. image:: ../_static/images/manual/manual_app_cart_console.png :width: 60%