Giter Club home page Giter Club logo

Comments (22)

sprankhub avatar sprankhub commented on September 24, 2024

Dear Chris,

please check under System - Configuration - Extended - Extended if the module is installed correctly. Then, make sure that you have cleared the cache.
If that does not work, the only idea I have is that another extension overwrites the class "Mage_Catalog_Model_Product_Type_Configurable_Price"...

Cheers,
Simon

from customgento_configurabletierprices.

realchriswells avatar realchriswells commented on September 24, 2024

Hi Simon,

I do not seem to have the System - Configuration - Extended - Extended menu. Cleared the cache to make sure it wasn't that, but it didn't show up after that either.

I have tried reinstalling the module, but no joy.

Is there a way I can check the files to make sure they're installed correctly?

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

If you have FTP access, you could check if all the relevant files from the GitHub repo are present - especially app/etc/modules/Spranks_ConfigurableTierPrices.xml and if the module is enabled in this file.

from customgento_configurabletierprices.

realchriswells avatar realchriswells commented on September 24, 2024

I've just checked and the files do seem to be there, and according to Spranks_ConfigurableTierPrices.xml, is set to true.

One thing I did notice is that there is nothing in design/adminhtml/default/default/layout for admin stuff - could this be why nothing is showing up in the admin area? But then there is nothing in the repo either about it...

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

No, the extension does not need any stuff in design/adminhtml/*.

Then the only idea I have is that another extension is also rewriting Mage_Catalog_Model_Product_Type_Configurable_Price... You could check this with the extension Firegento_Core (https://github.com/firegento/firegento).

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

Could you solve your problem in the meantime?

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi there,

I am having the same issue. I checked everything as you said above (except the Firegento_Core option).

I guess my Mage_Catalog_Model_Product_Type_Configurable_Price class is overwrite by another extension.

Can you please show me the way to solve the issue.

I need the solution asap and badly. My project is hold due to this issue

Your prompt response will be highly appreciated.

Thanks.

-Nowshin

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

Hi Nowshin,

checking if another extension rewrites the same class is the basis for solving this problem. So please use something like Firegento to check that and tell me the name of the extension which has the same rewrite.

Cheers
Simon

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi Simon

I am not too familiar with Firegento .

I installed it and from admin i go to Firegento - > diagnostic -> Check
rewrites

I got the view as i attached in the attachment.
Can you please check and suggest me what should i do now.

I badly need to make your extension work.

Please Help!

Waiting for your valuable response.

Thanks.
-Nowshin

On Thu, Oct 4, 2012 at 3:20 PM, Simon Sprankel [email protected]:

Hi Nowshin,

checking if another extension rewrites the same class is the basis for
solving this problem. So please use something like Firegento to check that
and tell me the name of the extension which has the same rewrite.

Cheers
Simon


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-9130927.

Kind Regards, Nowshin Zaman
[email protected] | Skype: nowshin_zaman
p: +61 1300 301 771 | f: +612 8203 4599 Unit 4, 155 Glendenning Road,
Glendenning, NSW -2761
http://www.oscillosoft.com.au | ACN: 123 884 328
[image: Australian Government Endorsed Suppliers] [image: Saassu
Partner] [image:
#1 Zoho implementation partner in Australia/NZ] [image: #1 Zoho
implementation partner in Australia/NZ] [image: HP Business Partner] [image:
Facebook]http://www.facebook.com/pages/OscilloSoft-Pty-Limited/150537708352613
[image:
Twitter] http://twitter.com/#%21/oscillosoft Click
http://oscillosoft.com.au/ here To See Complete Cloud Solution For Your
Business. To lodge support request send email at
[email protected], alternatively you can visit our support portal
at support.zoho.com/portal/oscillosoft. We always welcome your feedback
and suggestions please join us at discussions.zoho.com/oscillosoft

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Sorry .. I forgot to attach the attachment. :)
Please check...

On Thu, Oct 4, 2012 at 3:31 PM, Nowshin Zaman [email protected]:

Hi Simon

I am not too familiar with Firegento .

I installed it and from admin i go to Firegento - > diagnostic -> Check
rewrites

I got the view as i attached in the attachment.
Can you please check and suggest me what should i do now.

I badly need to make your extension work.

Please Help!

Waiting for your valuable response.

Thanks.
-Nowshin

On Thu, Oct 4, 2012 at 3:20 PM, Simon Sprankel [email protected]:

Hi Nowshin,

checking if another extension rewrites the same class is the basis for
solving this problem. So please use something like Firegento to check that
and tell me the name of the extension which has the same rewrite.

Cheers
Simon


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-9130927.

Kind Regards, Nowshin Zaman
[email protected] | Skype: nowshin_zaman
p: +61 1300 301 771 | f: +612 8203 4599 Unit 4, 155 Glendenning
Road, Glendenning, NSW -2761
http://www.oscillosoft.com.au | ACN: 123 884 328
[image: Australian Government Endorsed Suppliers] [image: Saassu Partner] [image:
#1 Zoho implementation partner in Australia/NZ] [image: #1 Zoho
implementation partner in Australia/NZ] [image: HP Business Partner] [image:
Facebook]http://www.facebook.com/pages/OscilloSoft-Pty-Limited/150537708352613 [image:
Twitter] http://twitter.com/#%21/oscillosoft Click
http://oscillosoft.com.au/ here To See Complete Cloud Solution For Your
Business. To lodge support request send email at
[email protected], alternatively you can visit our support
portal at support.zoho.com/portal/oscillosoft. We always welcome your
feedback and suggestions please join us at
discussions.zoho.com/oscillosoft

Kind Regards, Nowshin Zaman
[email protected] | Skype: nowshin_zaman
p: +61 1300 301 771 | f: +612 8203 4599 Unit 4, 155 Glendenning Road,
Glendenning, NSW -2761
http://www.oscillosoft.com.au | ACN: 123 884 328
[image: Australian Government Endorsed Suppliers] [image: Saassu
Partner] [image:
#1 Zoho implementation partner in Australia/NZ] [image: #1 Zoho
implementation partner in Australia/NZ] [image: HP Business Partner] [image:
Facebook]http://www.facebook.com/pages/OscilloSoft-Pty-Limited/150537708352613
[image:
Twitter] http://twitter.com/#%21/oscillosoft Click
http://oscillosoft.com.au/ here To See Complete Cloud Solution For Your
Business. To lodge support request send email at
[email protected], alternatively you can visit our support portal
at support.zoho.com/portal/oscillosoft. We always welcome your feedback
and suggestions please join us at discussions.zoho.com/oscillosoft

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi Simon

I am not too familiar with Firegento .

I installed it and from admin i go to Firegento - > diagnostic -> Check rewrites

I got the view :
Path Rewrite Class Active Class Status
catalog/product_new MagicToolbox_MagicZoom_Block_Product_New MagicToolbox_MagicZoom_Block_Product_New Ok
catalog/product_view_options_type_select MagicToolbox_MagicZoom_Block_Product_View_Options_Type_Select MagicToolbox_MagicZoom_Block_Product_View_Options_Type_Select Ok
catalog/product_type_configurable_price Spranks_ConfigurableTierPrices_Model_Product_Type_Configurable_Price Spranks_ConfigurableTierPrices_Model_Product_Type_Configurable_Price Ok

Can you please check and suggest me what should i do now.

I badly need to make your extension work.

Please Help!

Waiting for your valuable response.

Thanks.
-Nowshin

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

Hi Nowshin,

I will check the extension again in Magento 1.4 in the evening (although you should consider an upgrade). Rewrites seem to be okay, but in order to make sure that there is no conflict, you could disable all non-core modules under app/etc/modules, clear the cache and have a look if the extension works.

Cheers
Simon

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi Simon,

Thanks a lot that you have been so helpful.

I am using magento 1.7.0.1
I am using these extensions- magic toolbox magic zoom,
Webguys_Configurablematrix, Webshopapps_Matrixrate

I rename the other non core xml in app/etc/modules but still the extension
does not work.

Is there any quick solution in your mind?

I need to solve the issue asap.

Thanks
Nowshin

On Thu, Oct 4, 2012 at 3:44 PM, Simon Sprankel [email protected]:

Hi Nowshin,

I will check the extension again in Magento 1.4 in the evening (although
you should consider an upgrade). Rewrites seem to be okay, but in order to
make sure that there is no conflict, you could disable all non-core modules
under app/etc/modules, clear the cache and have a look if the extension
works.

Cheers
Simon


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-9131228.

Kind Regards, Nowshin Zaman
[email protected] | Skype: nowshin_zaman
p: +61 1300 301 771 | f: +612 8203 4599 Unit 4, 155 Glendenning Road,
Glendenning, NSW -2761
http://www.oscillosoft.com.au | ACN: 123 884 328
[image: Australian Government Endorsed Suppliers] [image: Saassu
Partner] [image:
#1 Zoho implementation partner in Australia/NZ] [image: #1 Zoho
implementation partner in Australia/NZ] [image: HP Business Partner] [image:
Facebook]http://www.facebook.com/pages/OscilloSoft-Pty-Limited/150537708352613
[image:
Twitter] http://twitter.com/#%21/oscillosoft Click
http://oscillosoft.com.au/ here To See Complete Cloud Solution For Your
Business. To lodge support request send email at
[email protected], alternatively you can visit our support portal
at support.zoho.com/portal/oscillosoft. We always welcome your feedback
and suggestions please join us at discussions.zoho.com/oscillosoft

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi Simon,

I got the issue. Your extension is conflict with my another extension Webguys_Configurablematrix.
I remove this extension and now your extension is working perfectly.

Can you please suggest me how can i use both of this extension in my site...

Please Help!

Your prompt response will be highly appreciated.

Thanks
Nowshin

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi Simon,

If my Configurablematrix extension is on then my process does not enter in your price.php , it starts to get value from app/code/core/Mage/Catalog/Model/Product/Type/price.php

Can you please suggest me how can i sorted the issue.

Please Help!

Your prompt response will be highly appreciated.

Thanks
Nowshin

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

Hi Nowshin,

since the extension Webguys_Configurablematrix is not open source, I can not have a look at the code. Anyway, you could send me the extension and I will try to fix the issue (see http://www.coderblog.de/impressum/ for contact information). Although it sounds that the extension Webguys_Configurablematrix is producing the problem and not my extension ;)

Cheers
Simon

from customgento_configurabletierprices.

nzaman avatar nzaman commented on September 24, 2024

Hi Siman,

Finally i can make your code work with my one. But i am facing another
problem and not getting any proper forum post.
Thats why mailing you, if you can help me out.

In my store for one configurable product i have different tier price.
suppose :

white:
1-5 = $8
6-10 = $6

Red:
1-5 = $10
6-10 = $7

Blue:
1-5 = $10
6-10 = $7

Now if i buy 3white, 4red, 4blue my cart shows me the price $7 for red and
blue and $6 for white. as its get the quantity (3+4+4).

But I need to show it like : white - $8 (as its quantity is 4)
Blue and red $7 (as its quantity is 4+4=8).

here is my code:

/* start of code*/

public function getFinalPrice($qty = null, $product)
{
if (is_null($qty) && !is_null($product->getCalculatedFinalPrice())) {
return $product->getCalculatedFinalPrice();
}

    $finalPrice = $this->getBasePrice($product, $qty);

    //var_dump( $finalPrice );
    $tierPrice = $this->calcConfigProductTierPricing($product);
    //var_dump("mainTier".$tierPrice);
    if($tierPrice > 0){

       if ($tierPrice < $finalPrice) {
            $finalPrice = $tierPrice;
       }
    }

    return $finalPrice;
}



public function calcConfigProductTierPricing($product)
{


     $tierPrice = 0;
    if ($items =

Mage::getSingleton('checkout/session')->getQuote()->getItemsCollection()) {
// map mapping the IDs of the parent products with the
quantities of the corresponding simple products
$idQuantities = array();
//$idpricing = array ();

        // go through all products in the quote

        foreach ($items as $item) {



            $productModel = Mage::getModel('catalog/product');
            $id = $productModel->getIdBySku($item->getSku());


            // get the parent IDs
            $configurableProductModel =

Mage::getModel('catalog/product_type_configurable');
$parentIdArray =
$configurableProductModel->getParentIdsByChild($id);

            foreach ($parentIdArray as $parent){

                $idQuantities[$parent][] = $item->getQty();

                 }






        }



        $newprice=array();
        foreach ($product->getTierPrice() as $testier){
        $now[] = $testier;
        }

$firstprice=$now[0]['website_price'].".0000";
$parentIds = Mage::getResourceSingleton('catalog/product_type_configurable')
->getParentIdsByChild($product->getId());

foreach ($parentIds as $pro) {
//var_dump($pro);
}

       if (array_key_exists($pro, $idQuantities)) {



                 $totalQty = array_sum($idQuantities[$pro]);



        $tierPrice = $this->getTierPrice($totalQty, $product);
        }
    }
    return $tierPrice;
}

/* end of code*/

Please if you can help me or have any reference from where i can get help.
I will be grateful to you.

-Nowshin

from customgento_configurabletierprices.

demonkiller avatar demonkiller commented on September 24, 2024

did the issue with the configurable matrix get resolved? i am also receiving the same issue and am looking for the solution?
where did you place that code fix above?

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

You have also installed the extension Webguys_Configurablematrix and my extension does not work with it?

from customgento_configurabletierprices.

demonkiller avatar demonkiller commented on September 24, 2024

yes unsure how to resolve any help would be appreciated

from customgento_configurabletierprices.

sprankhub avatar sprankhub commented on September 24, 2024

I am in contact with the extension developer. We will try to solve the problem. See #4.

from customgento_configurabletierprices.

demonkiller avatar demonkiller commented on September 24, 2024

thankyou greatly

from customgento_configurabletierprices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.