{"_id":"56a7cbe7cf6d771700baef22","user":"56a2689e2029df19002b58d1","__v":4,"version":{"_id":"56a268d495203a17001d67d7","project":"56a268d395203a17001d67d4","__v":9,"createdAt":"2016-01-22T17:37:24.341Z","releaseDate":"2016-01-22T17:37:24.340Z","categories":["56a268d495203a17001d67d8","56a2696e2029df19002b58d4","56a7a7b03143f31700cb03c7","56a7c5c63e2f4d0d005d1279","56a7c642cf6d771700baef19","56a7c8fd97e8b00d0096d231","56a7caf6b5d0920d0051cdb6","5a145498a33f650012aac4d4","5a1454a2f88bd400345b56d0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"v1","version_clean":"1.0.0","version":"1"},"category":{"_id":"56a7c8fd97e8b00d0096d231","pages":["56a7c907fc62900d00024c55","56a7cbe7cf6d771700baef22","56a7cc3b79395317007c1b04"],"project":"56a268d395203a17001d67d4","__v":3,"version":"56a268d495203a17001d67d7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-26T19:29:01.709Z","from_sync":false,"order":2,"slug":"customization-and-integration","title":"Customization and Integration"},"project":"56a268d395203a17001d67d4","githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-26T19:41:27.926Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Charge Rabbit offers 2 different ways to integrate with your Shopify theme, Widget or Embedded.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Widget Integration\"\n}\n[/block]\nThe widget is the simplest integration that requires less customization. The widget embeds charge rabbit content using a modal.\n\nUsing the Widget integration you can customize the membership product page in your shopify store by following the instructions below.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Embedded Integration\"\n}\n[/block]\nThe embedded integration embeds Charge Rabbit content directly into the layout of your Shopify theme.\n\nThis provides you with the ability to fully customize your customers experience, however setting this up requires intgrating your Shopify theme by editing its html and css.\n\nThe embedded integration embeds Charge Rabbit content directly into the layout of your Shopify theme.\n\nThis provides you with the ability to fully customize your customers experience, however setting this up requires intgrating your Shopify theme by editing its html and css.\n\nCharge Rabbit embeds customer facing pages to your Shopify store. This allows for a seamless integration between your store and Charge Rabbit, however for the best customer experience it is recommended that you integrate your shopify theme with Charge Rabbit.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Customizing the Product Page(widget and embedded integration)\"\n}\n[/block]\n\nCustomization requires knowledge of html and css\nThis is viewed by the customer when they are viewing the product details of your membership product. By default it contains a product title, description, membership options and prices and a 'Join Now' button.\n\nTo customize this page\n\n1.  Visit your shopify themes page\n2.  Click Link ...\n3.  Select Edit HTML/CSS\n4.  Click link templates/product.charge-rabbit.liquid\n5.  Make your changes and click Save\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Customizing the Login or Create Account page(embedded integration only)\"\n}\n[/block]\nIf a customer is not logged in when they click 'Join Now' they will be given the option to login or to create an account to continue\n\nThese links are displayed within your shopify store and the styling of them is dependent on your stores stylesheet. To customize the display of these links please add styles for the following html elements\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \".charge_rabbit{\\n  /* A wrapper for a all content added by Charge Rabbit */\\n}\\n\\n.charge_rabbit .login_or_signup h3{\\n  /* Your Styling Here */\\n}\\n\\n.charge_rabbit .login_or_signup a#login_link{\\n  /* Your Styling Here */\\n}\\n\\n.charge_rabbit .login_or_signup a#signup_link{\\n  /* Your Styling Here */\\n}\",\n      \"language\": \"css\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Customizing the My Subscriptions Page(embedded integration only)\"\n}\n[/block]\nThis is viewed by the customer when they are viewing the product details of your membership product. By default it contains a product title, description, membership options and prices and a 'Join Now' button.\n\nThe page where the customer manages their membership. From there the customer can update their card, change their shipping address or cancel their membership\n\nThe information displayed on this page is displayed within your shopify store and the styling is dependent on your stores stylesheet. To customize the display add styles for the following html elements\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \".charge_rabbit{\\n  /* A wrapper for a all content added by Charge Rabbit */\\n}\\n\\n.charge_rabbit .subscription_info{\\n  /* A wrapper for all subscription info */\\n}\\n\\n.charge_rabbit .charge-rabbit-custom-content{\\n  /* Wraps custom content added from your Charge Rabbit Settings */\\n}\\n\\n.charge_rabbit .subscription_details p{\\n  /* Describes the current state of the subscription */\\n}\\n\\n.charge_rabbit .subscription_details .discount_details p{\\n  /* Describes the current discount applied to the subscription */\\n}\\n\\n.charge_rabbit .card_info{\\n  /* Wraps Credit Card Info */\\n}\\n\\n.charge_rabbit .card_info dl dt.card-number{\\n  /* card number label */\\n}\\n\\n.charge_rabbit .card_info dl dd.card-number{\\n  /* card number number */\\n}\\n\\n.charge_rabbit .card_info span.no-card{\\n  /* Message if no card is present */\\n}\\n\\n.charge_rabbit .address_info{\\n  /* Wrapper for Address display */\\n}\\n\\n.charge_rabbit .address_info a.update-address-link{\\n  /* Link to update address */\\n}\\n\\n.charge_rabbit .subscription_actions{\\n  /* Wrapper for link to cancel Subscription */\\n}\\n\\n.charge_rabbit .subscription_actions a.cancel-subscription-link{\\n  /* Cancel Subscription Link */\\n}\",\n      \"language\": \"css\"\n    }\n  ]\n}\n[/block]\nThis is viewed by the customer when they login and manage their membership by following the link added from [Add A My Subscription link to the My Account Page](doc:add-a-my-subscription-link-to-the-my-account-page).\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Customizing the no active membership page(embedded integration only)\"\n}\n[/block]\nWhen a customer clicks to view/edit their membership and does not have a membership a page is displayed telling them they do not have an active plan.\n\nThis page can be edited by by editing the snippets/charge-rabbit.no-membership.liquid template in your Shopify theme\n\n1.  Visit your shopify themes page\n2.  Click Link ...\n.3  Select Edit HTML/CSS\n4.  Click link snippets/charge-rabbit.no-membership.liquid\n5.  Make your changes and click Save","excerpt":"","slug":"theme-integration","type":"basic","title":"Theme Integration"}
Charge Rabbit offers 2 different ways to integrate with your Shopify theme, Widget or Embedded. [block:api-header] { "type": "basic", "title": "Widget Integration" } [/block] The widget is the simplest integration that requires less customization. The widget embeds charge rabbit content using a modal. Using the Widget integration you can customize the membership product page in your shopify store by following the instructions below. [block:api-header] { "type": "basic", "title": "Embedded Integration" } [/block] The embedded integration embeds Charge Rabbit content directly into the layout of your Shopify theme. This provides you with the ability to fully customize your customers experience, however setting this up requires intgrating your Shopify theme by editing its html and css. The embedded integration embeds Charge Rabbit content directly into the layout of your Shopify theme. This provides you with the ability to fully customize your customers experience, however setting this up requires intgrating your Shopify theme by editing its html and css. Charge Rabbit embeds customer facing pages to your Shopify store. This allows for a seamless integration between your store and Charge Rabbit, however for the best customer experience it is recommended that you integrate your shopify theme with Charge Rabbit. [block:api-header] { "type": "basic", "title": "Customizing the Product Page(widget and embedded integration)" } [/block] Customization requires knowledge of html and css This is viewed by the customer when they are viewing the product details of your membership product. By default it contains a product title, description, membership options and prices and a 'Join Now' button. To customize this page 1. Visit your shopify themes page 2. Click Link ... 3. Select Edit HTML/CSS 4. Click link templates/product.charge-rabbit.liquid 5. Make your changes and click Save [block:api-header] { "type": "basic", "title": "Customizing the Login or Create Account page(embedded integration only)" } [/block] If a customer is not logged in when they click 'Join Now' they will be given the option to login or to create an account to continue These links are displayed within your shopify store and the styling of them is dependent on your stores stylesheet. To customize the display of these links please add styles for the following html elements [block:code] { "codes": [ { "code": ".charge_rabbit{\n /* A wrapper for a all content added by Charge Rabbit */\n}\n\n.charge_rabbit .login_or_signup h3{\n /* Your Styling Here */\n}\n\n.charge_rabbit .login_or_signup a#login_link{\n /* Your Styling Here */\n}\n\n.charge_rabbit .login_or_signup a#signup_link{\n /* Your Styling Here */\n}", "language": "css" } ] } [/block] [block:api-header] { "type": "basic", "title": "Customizing the My Subscriptions Page(embedded integration only)" } [/block] This is viewed by the customer when they are viewing the product details of your membership product. By default it contains a product title, description, membership options and prices and a 'Join Now' button. The page where the customer manages their membership. From there the customer can update their card, change their shipping address or cancel their membership The information displayed on this page is displayed within your shopify store and the styling is dependent on your stores stylesheet. To customize the display add styles for the following html elements [block:code] { "codes": [ { "code": ".charge_rabbit{\n /* A wrapper for a all content added by Charge Rabbit */\n}\n\n.charge_rabbit .subscription_info{\n /* A wrapper for all subscription info */\n}\n\n.charge_rabbit .charge-rabbit-custom-content{\n /* Wraps custom content added from your Charge Rabbit Settings */\n}\n\n.charge_rabbit .subscription_details p{\n /* Describes the current state of the subscription */\n}\n\n.charge_rabbit .subscription_details .discount_details p{\n /* Describes the current discount applied to the subscription */\n}\n\n.charge_rabbit .card_info{\n /* Wraps Credit Card Info */\n}\n\n.charge_rabbit .card_info dl dt.card-number{\n /* card number label */\n}\n\n.charge_rabbit .card_info dl dd.card-number{\n /* card number number */\n}\n\n.charge_rabbit .card_info span.no-card{\n /* Message if no card is present */\n}\n\n.charge_rabbit .address_info{\n /* Wrapper for Address display */\n}\n\n.charge_rabbit .address_info a.update-address-link{\n /* Link to update address */\n}\n\n.charge_rabbit .subscription_actions{\n /* Wrapper for link to cancel Subscription */\n}\n\n.charge_rabbit .subscription_actions a.cancel-subscription-link{\n /* Cancel Subscription Link */\n}", "language": "css" } ] } [/block] This is viewed by the customer when they login and manage their membership by following the link added from [Add A My Subscription link to the My Account Page](doc:add-a-my-subscription-link-to-the-my-account-page). [block:api-header] { "type": "basic", "title": "Customizing the no active membership page(embedded integration only)" } [/block] When a customer clicks to view/edit their membership and does not have a membership a page is displayed telling them they do not have an active plan. This page can be edited by by editing the snippets/charge-rabbit.no-membership.liquid template in your Shopify theme 1. Visit your shopify themes page 2. Click Link ... .3 Select Edit HTML/CSS 4. Click link snippets/charge-rabbit.no-membership.liquid 5. Make your changes and click Save