I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
sometimes in console i get this error,
Uncaught Error: no such method 'activate' for tabs widget instance
Please check this n share your ideas.
Thanks in Advance!!
I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
sometimes in console i get this error,
Uncaught Error: no such method 'activate' for tabs widget instance
Thanks in Advance!!
I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
sometimes in console i get this error,
Uncaught Error: no such method 'activate' for tabs widget instance
Please check this n share your ideas.
Thanks in Advance!!
I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
sometimes in console i get this error,
Uncaught Error: no such method 'activate' for tabs widget instance
Thanks in Advance!!
I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
Thanks in Advance!!
I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
sometimes in console i get this error,
Uncaught Error: no such method 'activate' for tabs widget instance
Thanks in Advance!!
- 1.9k
- 7
- 71
- 147
How Tax calculation applied for two different product with different tax class Review form in magentocustom template not working Magento 2.3.4
I have created 3 Tax Rules as like below
Store -> Tax Rulesenter image description here enter image description here
then created Tax Zones and Rates as like below.
Store -> Tax Zones and Rates
enter image description here enter image description here
Now i have created 3a custom template for the product tax classespage based on the attribute value.
- BOOK
- EXAM
- EBOOK
Nowin my template i am adding 3 productused below code to display the cartreview section.
- product with tax class (EXAM) => Price = 1000
2.product with tax class (BOOK) => Price = 1500
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
3.product with tax class (EBOOK) => Price = 2000
How the tax calculation getting applied in this scenario?
Becausecode, i have 3 products in cart with each of them are different tax class and different tax rates with country.
can see the link 'Need clarification in these two scenariosBe the first to review the product
1.Will it apply to the whole cart total? if so which rates gets applied? since we have all 3 in shopping cart'.
- The tax calculation will be a product level?
Right now for me tax applied forBut after clicking the cart total, not for individual product level.
If i set custom price for product while adding to cartlink, then the tax amountreview form tab is showing different. I am not cleared how this is working exactlyexpanding.
Can anyone brief about the tax calculation and is there any option to apply tax pro-grammatically to the product when adding to cart, as like we set custom price for the product.help me on this please?
Thanks in advanceAdvance!!
How Tax calculation applied for two different product with different tax class in magento 2
I have created 3 Tax Rules as like below
Store -> Tax Rulesenter image description here enter image description here
then created Tax Zones and Rates as like below.
Store -> Tax Zones and Rates
enter image description here enter image description here
Now i have created 3 product tax classes.
- BOOK
- EXAM
- EBOOK
Now i am adding 3 product to the cart.
- product with tax class (EXAM) => Price = 1000
2.product with tax class (BOOK) => Price = 1500
3.product with tax class (EBOOK) => Price = 2000
How the tax calculation getting applied in this scenario?
Because i have 3 products in cart with each of them are different tax class and different tax rates with country.
Need clarification in these two scenarios
1.Will it apply to the whole cart total? if so which rates gets applied? since we have all 3 in shopping cart.
- The tax calculation will be a product level?
Right now for me tax applied for the cart total, not for individual product level.
If i set custom price for product while adding to cart, then the tax amount is showing different. I am not cleared how this is working exactly.
Can anyone brief about the tax calculation and is there any option to apply tax pro-grammatically to the product when adding to cart, as like we set custom price for the product.
Thanks in advance
Review form in custom template not working Magento 2.3.4
I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
Thanks in Advance!!