Plugin Directory

Changeset 856019


Ignore:
Timestamp:
02/12/2014 01:12:57 AM (12 years ago)
Author:
orillacart
Message:

Various bug fixes

Location:
orillacart/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orillacart/trunk/com_shop/helpers/product_helper.php

    r855239 r856019  
    2020
    2121    public function get_price_with_tax($o, $p = array(), $f = array(), $country = null, $state = null) {
    22 
    23         if (is_int($o)) {
     22       
     23        if (is_int($o) || is_string($o)) {
    2424            $r = Factory::getApplication('shop')->getTable('product')->load($o);
    2525
     
    8080
    8181
    82         if (is_int($o)) {
     82        if (is_int($o) || is_string($o)) {
    8383           
    8484            $r = Factory::getApplication('shop')->getTable('product')->load($o);
  • orillacart/trunk/core/framework.php

    r855956 r856019  
    271271            $GLOBALS['wp_query'] = $query;
    272272            $GLOBALS['post'] = $page;
     273           
     274            if (file_exists(get_stylesheet_directory() . "/com_" . strtolower(request::getCmd('component')) . ".php")) {
     275                return get_stylesheet_directory() . "/com_" . strtolower(request::getCmd('component')) . ".php";
     276            }
    273277               
    274278            add_shortcode("framework",array($this,'attachTheContent'));
  • orillacart/trunk/main.php

    r855956 r856019  
    33/*
    44  Plugin Name: OrillaCart
    5   Version: 1.0.18
     5  Version: 1.0.19
    66  Description: ecommerce solution for WordPress
    77  Plugin URI: http://orillacart.com
Note: See TracChangeset for help on using the changeset viewer.