[Skip to main content](#vessel-content)

#   Remove Give Up button?

##

- **[mduda](/forum/user/33655-mduda "View mduda's Profile")**
- [![mduda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33655-mduda "View mduda's Profile") Topic Author
- [ Offline](/forum/user/33655-mduda)

Less More

- Posts: 105
- Thank you received: 9
-
-

10 years 2 months ago [\#248959](#248959) by [mduda](/forum/user/33655-mduda "View mduda's Profile")  *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#248959 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")* was created by *[mduda](/forum/user/33655-mduda "View mduda's Profile")*

-- HikaShop version -- : 2.6.3
-- HikaAuction version -- : 1.2
-- Joomla version -- : 3.51

Hi HA Team!

Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#248980](#248980) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#248980 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Hi,

It is possible to remove the button using a view override.

In order to know if it could be useful to add an option in HikaAuction to propose or not the "give up" button ; would it be possible to have more details about your general workflow ?
What would happen if the winner do not proceed to checkout ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mduda](/forum/user/33655-mduda "View mduda's Profile")**
- [![mduda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33655-mduda "View mduda's Profile") Topic Author
- [ Offline](/forum/user/33655-mduda)

Less More

- Posts: 105
- Thank you received: 9
-
-

10 years 2 months ago [\#249022](#249022) by [mduda](/forum/user/33655-mduda "View mduda's Profile")  Replied by *[mduda](/forum/user/33655-mduda "View mduda's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#249022 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Hi Jerome,

We have a lot of auctions that are identical items. We have communicated to our parents to put in their max bid, and only on the items they want. If they have the option to "give up on the auction", they will bid on all 10 of the same item. At the end of the auction, they will give up on nine of them, and then accept one. As a non-profit, this will lose a lot of money for us - because they will have driven the price up by bidding on multiple items, and other parents will not bid as a result of the price being too high.

In those rare instance when a person has to give up on an auction (example - they are moving), the person would contact us directly...so maybe the option to input a "Contact Button With Questions" in place of the "Give up on Auction", would be helpful as an option.

Hope this helps to clarify? If not, please let me know ![:)](/media/kunena/emoticons/3.png ":)")

In the meantime, what view should I change and how ? Thanks much !

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 2 months ago -  10 years 2 months ago [\#249184](#249184) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#249184 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Hello,

> In the meantime, what view should I change and how ?

To do that you'll just have to :
- Go to the page "Hikashop-&gt;Display-&gt;Views"
- Edit the "show_auction_payment" file of the "auctionauction" view
- Remove these lines : Code:

&lt;div class="auction_decline_block"&gt; &lt;?php echo JText::_('HKA_AUCTION_GIVE_UP_TEXT') . '&lt;/br&gt;'; ?&gt; &lt;form action="&lt;?php echo hikaauction::completeLink('auction&amp;task=show_auction_payment'); ?&gt;" method="post" name="hikaauction_product_form" enctype="multipart/form-data"&gt; &lt;input type="submit" value="&lt;?php echo JText::_('HKA_AUCTION_GIVE_UP');?&gt;"&gt; &lt;input type="hidden" id="product_id" name="product_id" value="&lt;?php echo $this-&gt;fullProduct-&gt;product_id; ?&gt;"/&gt; &lt;input type="hidden" name="ctrl" value="auction"/&gt; &lt;input type="hidden" name="task" value="show_auction_payment"/&gt; &lt;input type="hidden" name="cancel_auction" value="1"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(hikaauction::currentUrl())); // echo urlencode(base64_encode(urldecode($this-&gt;redirect_url))); ?&gt;"/&gt; &lt;/form&gt; &lt;/div&gt;

Note that you can also use that CSS code to adapt the displaying of the "Proceed to checkout" dropdown and button : Code:

.auction_payment_block { float: none !important; width: 100% !important; }

> We have a lot of auctions that are identical items. We have communicated to our parents to put in their max bid, and only on the items they want. If they have the option to "give up on the auction", they will bid on all 10 of the same item. At the end of the auction, they will give up on nine of them, and then accept one. As a non-profit, this will lose a lot of money for us - because they will have driven the price up by bidding on multiple items, and other parents will not bid as a result of the price being too high.

Thank you for your feedback we'll probably create a "Show Give up button" option.

Last edit: 10 years 2 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mduda](/forum/user/33655-mduda "View mduda's Profile")**
- [![mduda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33655-mduda "View mduda's Profile") Topic Author
- [ Offline](/forum/user/33655-mduda)

Less More

- Posts: 105
- Thank you received: 9
-
-

10 years 2 months ago [\#249187](#249187) by [mduda](/forum/user/33655-mduda "View mduda's Profile")  Replied by *[mduda](/forum/user/33655-mduda "View mduda's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#249187 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Thanks Mohamed!

My coding is a little different in the view - just want to make sure I'm removing the correct lines... Code:

&lt;?php if(isset($this-&gt;cancel_auction) &amp;&amp; (int)$this-&gt;cancel_auction == 1) { ?&gt; &lt;div class="auction_cancel"&gt; &lt;h2&gt;&lt;?php echo JText::sprintf('HKA_AUCTION_GIVE_UP_CONFIRMATION',$this-&gt;fullProduct-&gt;product_name); ?&gt;&lt;/h2&gt; &lt;br/&gt; &lt;div class="auction_decline_block"&gt; &lt;form action="&lt;?php echo hikaauction::completeLink('auction&amp;task=cancel_auction'); ?&gt;" method="post" name="hikaauction_product_form" enctype="multipart/form-data"&gt; &lt;input type="submit" value="&lt;?php echo JText::_('HKA_AUCTION_GIVE_UP');?&gt;"&gt; &lt;input type="hidden" id="product_id" name="product_id" value="&lt;?php echo $this-&gt;fullProduct-&gt;product_id; ?&gt;"/&gt; &lt;input type="hidden" name="ctrl" value="auction"/&gt; &lt;input type="hidden" name="task" value="cancel_auction"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(hikaauction::currentUrl())); ?&gt;"/&gt; &lt;/form&gt; &lt;/div&gt;

Do I remove from the isset?
Thanks so much for the great support!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mduda](/forum/user/33655-mduda "View mduda's Profile")**
- [![mduda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33655-mduda "View mduda's Profile") Topic Author
- [ Offline](/forum/user/33655-mduda)

Less More

- Posts: 105
- Thank you received: 9
-
-

10 years 2 months ago [\#249188](#249188) by [mduda](/forum/user/33655-mduda "View mduda's Profile")  Replied by *[mduda](/forum/user/33655-mduda "View mduda's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#249188 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Maybe I need morning caffeine?! I'll grab and remove the code staring at &lt;div class="auction_decline_block"&gt;. Will let you know if I have any problems! Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mduda](/forum/user/33655-mduda "View mduda's Profile")**
- [![mduda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33655-mduda "View mduda's Profile") Topic Author
- [ Offline](/forum/user/33655-mduda)

Less More

- Posts: 105
- Thank you received: 9
-
-

10 years 2 months ago [\#249214](#249214) by [mduda](/forum/user/33655-mduda "View mduda's Profile")  Replied by *[mduda](/forum/user/33655-mduda "View mduda's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#249214 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Perfect! Everything seems to be working. Thank you! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 2 months ago -  10 years 2 months ago [\#249190](#249190) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Remove Give Up button?](/forum/52-hikaauction/886245-remove-give-up-button#249190 "-- HikaShop version -- : 2.6.3 -- HikaAuction version -- : 1.2 -- Joomla version -- : 3.51  Hi HA Team!  Is there a way we can remove the give up on auction button that appears once the winner clicks the link? I only want to allow the user to proceed to checkout.  Thanks!")*

Actually, you'll only need to remove these lines and nothing after these lines : Code:

&lt;div class="auction_decline_block"&gt; &lt;?php echo JText::_('HKA_AUCTION_GIVE_UP_TEXT') . '&lt;/br&gt;'; ?&gt; &lt;form action="&lt;?php echo hikaauction::completeLink('auction&amp;task=show_auction_payment'); ?&gt;" method="post" name="hikaauction_product_form" enctype="multipart/form-data"&gt; &lt;input type="submit" value="&lt;?php echo JText::_('HKA_AUCTION_GIVE_UP');?&gt;"&gt; &lt;input type="hidden" id="product_id" name="product_id" value="&lt;?php echo $this-&gt;fullProduct-&gt;product_id; ?&gt;"/&gt; &lt;input type="hidden" name="ctrl" value="auction"/&gt; &lt;input type="hidden" name="task" value="show_auction_payment"/&gt; &lt;input type="hidden" name="cancel_auction" value="1"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(hikaauction::currentUrl())); // echo urlencode(base64_encode(urldecode($this-&gt;redirect_url))); ?&gt;"/&gt; &lt;/form&gt; &lt;/div&gt;

Last edit: 10 years 2 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzg4NjI0NS1yZW1vdmUtZ2l2ZS11cC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
