• Resolved younk

    (@younk)


    Hi.

    I’m doing some testing of this ecommerce CMS and so far I like the how simple it is.

    I would nevertheless like to remove all CSS and as much JS as possible – or at least combine it to as few files as possible or changing loading to asyncron. Is that possible and how would you suggest I do it?

    Best regards

Viewing 1 replies (of 1 total)
  • Hi
    To remove scripts you might want to use \Jigoshop\Helper\Scripts::remove($hook, array()) – I would advise to not do that, though, since all of the scripts are crucial for Jigoshop eCommerce to work.

    To remove the styles you’d use \Jigoshop\Helper\Styles::remove($hook, array()).

    In both cases the $hook variable is the handle to which the script/style is attached – for example jigoshop.user.account.

Viewing 1 replies (of 1 total)

The topic ‘Css and JS’ is closed to new replies.