Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Not Inherit Responsive Theme Rate Topic   - - - - -

 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 28 March 2019 - 02:12 AM #1

Hi there, 

 

I have setup a new theme and don't want to inherit from responsive theme at all. 

 

I have left the field empty in the manifest.json

 

It currently looks like this... 

 

But I still have scripts added to my page as part of addons in the responsive theme scripts.post.tpl files... 

 

Any idea why?

 

I am running 4.9.3

 

{
    "title": "BFA",
    "description": "BFA CS-CART Theme",
    "logo": "media/images/logos/main_logo.png",
    "mail": "media/images/logos/main_logo.png",
    "developer": "Simtech",
    "favicon": "media/images/icons/favicon.ico",
    "parent_theme": "",
    "settings_overrides": {
        "General": {
            "enable_compare_products": false
        },
        "Appearance": {
            "default_products_view": "products_without_options",
            "default_product_details_view": "bigpicture_template",
            "thumbnails_gallery": true,
            "enable_quick_view": false
        },
        "Thumbnails": {
            "product_lists_thumbnail_width": 300,
            "product_lists_thumbnail_height": 300
        }
    }
}
 


 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 28 March 2019 - 02:33 AM #2

It seems I was looking at old documentation here, 

 

https://docs.cs-cart...ent_themes.html

 

But it looks like this logic has changed here:

 

https://docs.cs-cart...ent_themes.html

 

I understand why it is setup to do this, but I can see that the latest paypal addon for CS-CART does not use the recommended smart payments buttons.. it looks like checkout.js is no longer has long term support from paypal.

 

https://developer.pa.../docs/checkout/

 

But I still want the paypal addon enabled, as I want to be able to still accept standard paypal payments at checkout using the standard flow... 

 

Anyone have any thoughts around this?  

 

Only option I currently see is to add an empty hook in my parent theme to make sure that responsive doesn't have its way... 



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11249 posts

Posted 28 March 2019 - 07:55 PM #3

Not sure why you would want to prevent addons from being included on your site when they are installed.  That's one of the nicer things about that environment is that themes will inherit from responsive if the templates/hooks do not exist in the custom theme.  But I'm sure you have your reasons. But I'd be interested to know what they are....  Inquiring minds, ya know?


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 28 March 2019 - 08:13 PM #4

In this case, only because the in context checkout script that comes with the latest version of the PayPal add-on is outdated... See my last post...

 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 28 March 2019 - 08:16 PM #5

For now, I just created an empty scripts.post.tpl file in add-ons/PayPal in my theme .. I have written completely new theme using vue.js which has been interesting, but working quite well...