0

We have a shipping calculation module its name is "FRETE RáPIDO" the documentation says it appears on the product page. For some reason, my theme doesn't work. What code do I put in my theme to make it work? I would like to make the shipping calculation work on the product page. Probably the theme is not carrying it.

3
  • Is it available for selecting on Magento backend Shipping Methods? Stores > Settings Configuration > Salles > Shipping Method. Or you can't even see the module there? Aug 10, 2021 at 2:19
  • The module appears in the backend and at checkout, it works normally. however, the freight calculation does not appear on the product page. Aug 10, 2021 at 23:04
  • Yes. Just checked their documentation. It should add the shipping block below Add to Cart button. If your store is in the dev mode, I would suggest running the Debug / Template Hints and check the product page... if the Frete Rápido Block is being called. If it isn't, you may add the block or ask for their support. By the way, it is a minor issue... at least the shipping costs are being calculated at checkout. Aug 11, 2021 at 0:44

1 Answer 1

0

this code calls the add-on from within the module

    <referenceContainer name="product.info.social">
        <block class="FreteRapido\Quote\Block\Product\View" name="product.info.shipping" as="shipping" template="product/view/shipping.phtml" />
    </referenceContainer>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.