Create Custom block on Product View with formcant display block in product-view pageAdd block to each product in category viewCustom block duplicating Product View using local.xmlcreate a popup from a blockBlock with Cachable=false not rendered on product view pageHow to add new products block to the product view page using local.xmlMagento 2 : Overide MagentoCatalogBlockProductViewGallery BlockOverride MagentoCatalogBlockProductView Block failedHow to insert custom template/block where I want?Magento custom block not showing on frontend
Humanity loses the vast majority of its technology, information, and population in the year 2122. How long does it take to rebuild itself?
What is Thermal Runaway Protection?
Employee lack of ownership
What is under these four white covers on the upper part of the Orion capsule?
Make a transparent 448*448 image
Ban on all campaign finance?
Could the Saturn V actually have launched astronauts around Venus?
Informing my boss about remarks from a nasty colleague
Welcoming 2019 Pi day: How to draw the letter π?
Schematic conventions for different supply rails
Why is stat::st_size 0 for devices but at the same time lseek defines the device size correctly?
Is having access to past exams cheating and, if yes, could it be proven just by a good grade?
Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab
Can anyone tell me why this program fails?
What options are left, if Britain cannot decide?
My story is written in English, but is set in my home country. What language should I use for the dialogue?
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
Simulating rnorm() using runif()
PTIJ: Who should pay for Uber rides: the child or the parent?
What has been your most complicated TikZ drawing?
Why doesn't the EU now just force the UK to choose between referendum and no-deal?
What is the greatest age difference between a married couple in Tanach?
Possible Leak In Concrete
Why must traveling waves have the same amplitude to form a standing wave?
Create Custom block on Product View with form
cant display block in product-view pageAdd block to each product in category viewCustom block duplicating Product View using local.xmlcreate a popup from a blockBlock with Cachable=false not rendered on product view pageHow to add new products block to the product view page using local.xmlMagento 2 : Overide MagentoCatalogBlockProductViewGallery BlockOverride MagentoCatalogBlockProductView Block failedHow to insert custom template/block where I want?Magento custom block not showing on frontend
I'm trying to do a form and put this on Product View.
I did some fields and they are saving the results on DB, ok, everything is good. But, I need to insert this block there.
Any thing that I help me?
magento-1.9 blocks product-view-page
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm trying to do a form and put this on Product View.
I did some fields and they are saving the results on DB, ok, everything is good. But, I need to insert this block there.
Any thing that I help me?
magento-1.9 blocks product-view-page
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm trying to do a form and put this on Product View.
I did some fields and they are saving the results on DB, ok, everything is good. But, I need to insert this block there.
Any thing that I help me?
magento-1.9 blocks product-view-page
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm trying to do a form and put this on Product View.
I did some fields and they are saving the results on DB, ok, everything is good. But, I need to insert this block there.
Any thing that I help me?
magento-1.9 blocks product-view-page
magento-1.9 blocks product-view-page
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 1 hour ago
Rannye RodriguesRannye Rodrigues
1
1
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Rannye Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In your theme, you should extend catalog.xml and inside him put:
<catalog_product_view>
<reference name="product.info">
<block type="<your_class_block>" name="<your_name>" template="<your_template_file>"/>
</reference>
</catalog_product_view>
But, if you don't want product.info you can add a block inside <catalog_product_view>
<catalog_product_view>
<block type="<your_class_block>"
name="<your_name>"
template="<your_template_file>"/>
</catalog_product_view>
then in your view.phtml you should put:
$this->getChildHtml('<your_name_or_alias_of_block');
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Rannye Rodrigues is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266003%2fcreate-custom-block-on-product-view-with-form%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In your theme, you should extend catalog.xml and inside him put:
<catalog_product_view>
<reference name="product.info">
<block type="<your_class_block>" name="<your_name>" template="<your_template_file>"/>
</reference>
</catalog_product_view>
But, if you don't want product.info you can add a block inside <catalog_product_view>
<catalog_product_view>
<block type="<your_class_block>"
name="<your_name>"
template="<your_template_file>"/>
</catalog_product_view>
then in your view.phtml you should put:
$this->getChildHtml('<your_name_or_alias_of_block');
add a comment |
In your theme, you should extend catalog.xml and inside him put:
<catalog_product_view>
<reference name="product.info">
<block type="<your_class_block>" name="<your_name>" template="<your_template_file>"/>
</reference>
</catalog_product_view>
But, if you don't want product.info you can add a block inside <catalog_product_view>
<catalog_product_view>
<block type="<your_class_block>"
name="<your_name>"
template="<your_template_file>"/>
</catalog_product_view>
then in your view.phtml you should put:
$this->getChildHtml('<your_name_or_alias_of_block');
add a comment |
In your theme, you should extend catalog.xml and inside him put:
<catalog_product_view>
<reference name="product.info">
<block type="<your_class_block>" name="<your_name>" template="<your_template_file>"/>
</reference>
</catalog_product_view>
But, if you don't want product.info you can add a block inside <catalog_product_view>
<catalog_product_view>
<block type="<your_class_block>"
name="<your_name>"
template="<your_template_file>"/>
</catalog_product_view>
then in your view.phtml you should put:
$this->getChildHtml('<your_name_or_alias_of_block');
In your theme, you should extend catalog.xml and inside him put:
<catalog_product_view>
<reference name="product.info">
<block type="<your_class_block>" name="<your_name>" template="<your_template_file>"/>
</reference>
</catalog_product_view>
But, if you don't want product.info you can add a block inside <catalog_product_view>
<catalog_product_view>
<block type="<your_class_block>"
name="<your_name>"
template="<your_template_file>"/>
</catalog_product_view>
then in your view.phtml you should put:
$this->getChildHtml('<your_name_or_alias_of_block');
answered 7 mins ago
Max SouzaMax Souza
412
412
add a comment |
add a comment |
Rannye Rodrigues is a new contributor. Be nice, and check out our Code of Conduct.
Rannye Rodrigues is a new contributor. Be nice, and check out our Code of Conduct.
Rannye Rodrigues is a new contributor. Be nice, and check out our Code of Conduct.
Rannye Rodrigues is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266003%2fcreate-custom-block-on-product-view-with-form%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown