TOPIC:

Self-pickup plugin -> deactivate shipping address 2 years 11 months ago #224227

  • Topic Author
  • rickyh
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 2
If one only leaves the self-pickup plugin the customer still has to choose/enter a billing address. That doesn´t make sense....

How can one deactivate the Radiogroup "Shipto this address" / "Ship to different address"?

Thanks again – I hope this is my last question :)

Please Log in or Create an account to join the conversation.

Self-pickup plugin -> deactivate shipping address 2 years 11 months ago #224331

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 557
Hello there,

You can find this part in the following file :

\components\com_breezingcommerce\views\checkout\tmpl\default.php

Go to line 458~ and you will see this code :
<?php if(!$this->is_virtual_order):?>
                    <div class="crbc-span6 span6">

                        <div class="control-group">

                            <div class="control-label">
                                <label></label>
                            </div>

                         <div class="controls">

                                <label class="control-label" for="use_shipping_address_0">
                                    <input type="radio" value="0" name="use_shipping_address" id="use_shipping_address_0"<?php echo !$this->item->use_shipping_address ? ' checked="checked"' : '';?>/>
                                    <?php echo JText::_( 'COM_BREEZINGCOMMERCE_SHIP_TO_THIS_ADDRESS' ); ?>
                                </label>

                                <label class="control-label" for="use_shipping_address_1">
                                    <input type="radio" value="1" name="use_shipping_address" id="use_shipping_address_1"<?php echo $this->item->use_shipping_address ? ' checked="checked"' : '';?>/>
                                    <?php echo JText::_( 'COM_BREEZINGCOMMERCE_SHIP_TO_DIFFERENT_ADDRESS' ); ?>
                                </label>
                            </div>
                        </div>

                    </div>
                    <?php endif; ?>

You can comment it out or adjust it anyway you need.

Let me know if this works for you.

Regards,
Mario
The following user(s) said Thank You: rickyh

Please Log in or Create an account to join the conversation.

Self-pickup plugin -> deactivate shipping address 2 years 11 months ago #224418

  • Topic Author
  • rickyh
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 2
This worked beautiful!
I commented it out and the radio group disappeared without causing interference.

Additionally, I only left self-pickup activated and wrote a friendly reminder of the store´s address, so it seems as if this would have been planned :D


Thanks again and have a great evening!
The following user(s) said Thank You: MarioPuco

Please Log in or Create an account to join the conversation.

Self-pickup plugin -> deactivate shipping address 2 years 11 months ago #224568

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 557
Hi,

Great ! I'm glad that this helped !

Let us know if you have any other questions.

Regards,
Mario

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.046 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!