Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply_to fix #466

Closed
wants to merge 2 commits into from
Closed

apply_to fix #466

wants to merge 2 commits into from

Conversation

jason-neumann
Copy link

if one of the fields apply_to is null here (which means it applies to all products) it was getting set to only apply to downloadable products. I saw this specifically with the cost attribute.

Jason Neumann added 2 commits January 9, 2014 13:15
if one of the fields apply_to is null here (which means it applies to all products) it was getting set to only apply to downloadable products. I saw this specifically with the cost attribute.
$applyTo = explode(',', $installer->getAttribute(\Magento\Catalog\Model\Product::ENTITY, $field, 'apply_to'));
if (!in_array('bundle', $applyTo)) {
$applyToStr = $installer->getAttribute(Mage_Catalog_Model_Product::ENTITY, $field, 'apply_to');
$applyTo = explode(',', $applyToStr);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more tab will be good here :)

@verklov
Copy link
Contributor

verklov commented Feb 10, 2014

Hello @jason-neumann , the team looked at the issue and asked to update the description for the issue. Could you please extend on the description of the issue you try to solve with this pull request? Thank you!

@verklov
Copy link
Contributor

verklov commented Apr 29, 2014

@jason-neumann, the team has finished reviewing the case you reported. Here is the response:

The Magento_Bundle and Magento_Downloadable modules are installed after the Magento_Catalog module.

All these attributes 'price','special_price','special_from_date','special_to_date', 'minimal_price','cost','tier_price','weight' have initial values for 'apply_to' value.

Basing on this, we cannot accept your contribution.

We are closing this pull request.

@verklov verklov closed this Apr 29, 2014
magento-team pushed a commit that referenced this pull request Jul 15, 2015
magento-team pushed a commit that referenced this pull request Mar 21, 2016
…rid-of-helpers

[Extensibility] MAGETWO-50209: Get rid of Helpers in Password Security Management
mmansoor-magento pushed a commit that referenced this pull request Oct 6, 2016
[South] Bug fixes
- MAGETWO-56529 Magento\Framework\Session\SaveHandlerTest test failed
- MAGETWO-55794 [FT] Product is not assigned to category
- MAGETWO-56370 [GITHUB] Broken File Type Custom Option #5434
- MAGETWO-59146 [Github] Disable email communication set to yes: email did get sent. #5988
- MAGETWO-56871 [GITHUB] Non-admin do not have permission to search for Categories in Cart Price Rules #6168
magento-engcom-team added a commit that referenced this pull request Mar 13, 2019
 - Merge Pull Request magento/graphql-ce#466 from yogeshsuhagiya/graphql-ce:2.3-develop-graphql-PR-yogesh-4
 - Merged commits:
   1. f406c28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants