Plugin Directory

Changeset 891647


Ignore:
Timestamp:
04/12/2014 12:39:55 AM (12 years ago)
Author:
orillacart
Message:

Cart widget losing styles on non shop related pages fixed.
Use category on homepage bug fixed.

Location:
orillacart/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • orillacart/trunk/com_shop/front/models/product_list.php

    r879830 r891647  
    158158        }
    159159
    160         if (( isset($req['post_type']) && 'product' == $req['post_type'] ) && !isset($req['product_cat']) && !isset($req['product_brand']) && !isset($req['product_tag'])) {
    161             if (Factory::getApplication('shop')->getParams()->get('front_page_cat')) {
     160        if (( (isset($req['post_type']) && 'product' == $req['post_type']) || request::getCmd('con') == 'product_list' ) && !isset($req['product_cat']) && !isset($req['product_brand']) && !isset($req['product_tag'])) {
     161           
     162            if (Factory::getApplication('shop')->getParams()->get('front_page_cat')) {
    162163                $term = get_term_by('id', (int) Factory::getApplication('shop')->getParams()->get('front_page_cat'), 'product_cat');
    163164                if (!empty($term->slug)) {
  • orillacart/trunk/com_shop/front/views/widgets/templates/cart_widget.tpl.php

    r802008 r891647  
    1 <div id='orillacart_cart_widget_container' class='mini-cart'>
     1<div id='orillacart_cart_widget_container' class='mini-cart addBootstrap'>
    22    <div id='orillacart_cart_widget'>
    33        <?php if ($this->cart->is_empty()) { ?>
  • orillacart/trunk/com_shop/widgets/cart.php

    r802008 r891647  
    2626            Factory::getMainframe()->addScript('add-to-cart-widget', Factory::getApplication('shop')->getAssetsUrl() . "/js/add-to-cart-widget.js");
    2727            Factory::getMainframe()->addStyle('tipsy', Factory::getApplication('shop')->getAssetsUrl() . "/tipsy.css");
    28             Factory::getMainframe()->addscript('block', Factory::getApplication('shop')->getAssetsUrl() . "/js/block.js");
     28            Factory::getMainframe()->addStyle('bootstrap', Factory::getApplication('shop')->getAssetsUrl() . "/bootstrap.css");
     29            Factory::getMainframe()->addstyle('icons', Factory::getApplication('shop')->getAssetsUrl() . '/icons.css');
     30            Factory::getMainframe()->addstyle('bootstrap-buttons', Factory::getApplication('shop')->getAssetsUrl() . '/buttons.css');
     31           
     32            Factory::getMainframe()->addscript('block', Factory::getApplication('shop')->getAssetsUrl() . "/js/block.js");
    2933        }
    3034        add_filter('orillacart_add_to_cart_json', array($this, 'update_cart_content'));
     
    119123
    120124add_action('widgets_init', 'orillacart_register_widgets');
    121 
    122 
    123 
  • orillacart/trunk/main.php

    r887776 r891647  
    33/*
    44  Plugin Name: OrillaCart
    5   Version: 1.1.5
     5  Version: 1.1.6
    66  Description: ecommerce solution for WordPress
    77  Plugin URI: http://orillacart.com
     
    1717define("ORILLA_FRAMEWORK_BASE",realpath(dirname(__FILE__)));
    1818define("ORILLA_FRAMEWORK_CORE",realpath(dirname(__FILE__).DS."core"));
    19 define("ORILLACART_VERSION","1.1.5");
     19define("ORILLACART_VERSION","1.1.6");
    2020
    2121define("ORILLA_FRAMEWORK_PUBLIC_KEY",realpath(dirname(__FILE__).DS."core".DS."public_key".DS."orillacart.pub"));
  • orillacart/trunk/readme.txt

    r887769 r891647  
    8686== Changelog ==
    8787
    88 == 1.1.4 - 05.04.2014 ==
     88= 1.1.6 - 12.04.2014 =
     89
     901. Fix category as homepage bug
     912. Add correct styles for cart widget on non shop related pages
     92
     93= 1.1.4 - 05.04.2014 =
    89941. Category manager bug fixed.
    9095
    91 == 1.1.3 - 03.04.2014 ==
     96= 1.1.3 - 03.04.2014 =
    92971. Attribute price bugfix.
    9398
Note: See TracChangeset for help on using the changeset viewer.