0
<a href="<?php /* @escapeNotVerified */ echo $block->getUrl(
                                      'mpquotesystem/sellerquote/quoteedit/id/404/', 
                                      ['_secure' => $block->getIsSecure()]
                                  );?>">

I want to give number is dynamic

echo $block->getUrl('mpquotesystem/sellerquote/quoteedit/id/404/', //404 -

here I want to give $id how I can do this

2
  • do you have ` $id` on file ? Commented Apr 9, 2019 at 3:31
  • ss i have $block->getquoteid(); Commented Apr 9, 2019 at 3:32

1 Answer 1

1

Try following way

<a href="<?php /* @escapeNotVerified */ echo $block->getUrl(
                                  'mpquotesystem/sellerquote/quoteedit', 
                                  ['id'=> $id,'_secure' => $block->getIsSecure()]
                              );?>">
1
  • yeah it's working.......... Commented Apr 9, 2019 at 3:39

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.