Post by Satya - Safiramedia » Wed Jun 22, 2022 3:13 pm

pleaseee help me for hide at radio box option which I marked in red at the pic attach 5

Attachments

attach5.png

attach5.png (133.57 KiB) Viewed 61 times


User avatar
New member

Posts

Joined
Tue Jun 15, 2021 10:56 am
Location - Indonesia

Post by Satya - Safiramedia » Wed Jun 22, 2022 6:06 pm

Satya - Safiramedia wrote:
Wed Jun 22, 2022 3:13 pm
pleaseee help me for hide at radio box option which I marked in red at the pic attach 5
next i got an extension from other members at the point... they give me refference about free ocmod Remove Product Option Price from url : https://www.opencart.com/index.php?rout ... n_id=42059. but i got result error like pic in the below

Attachments

attach6-error-not-work.png

attach6-error-not-work.png (33.63 KiB) Viewed 52 times


User avatar
New member

Posts

Joined
Tue Jun 15, 2021 10:56 am
Location - Indonesia

Post by paulfeakins » Wed Jun 22, 2022 6:27 pm

Hi Satya - Safiramedia, feel free to drop us an email for a quick estimate: info@antropy.co.uk

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by xxvirusxx » Wed Jun 22, 2022 8:21 pm

Wow so hard....
catalog/view/theme/default/template/product/product.twig


Change this

Code: Select all

            <div class="form-group{% if option.required %} required {% endif %}">
              <label class="control-label">{{ option.name }}</label>
              <div id="input-option{{ option.product_option_id }}">
                {% for option_value in option.product_option_value %}
                <div class="radio">
                  <label>
                    <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />
                    {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}
                    {{ option_value.name }}
                    {% if option_value.price %}
                    ({{ option_value.price_prefix }}{{ option_value.price }})
                    {% endif %}
                  </label>
                </div>
                {% endfor %}
              </div>
            </div>
To this

Code: Select all

            <div class="form-group{% if option.required %} required {% endif %}">
              <label class="control-label">{{ option.name }}</label>
              <div id="input-option{{ option.product_option_id }}">
                {% for option_value in option.product_option_value %}
                <div class="radio">
                  <label>
                    <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />
                    {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {% endif %}" class="img-thumbnail" /> {% endif %}
                    {{ option_value.name }}
                    {% if option_value.price %}
                    {% endif %}
                  </label>
                </div>
                {% endfor %}
              </div>
            </div>
You own me 10.000 euro :laugh: :laugh: :laugh: :laugh:

My Converted Modules | Opencart Upgrade Service | Free Dashboard Maps | Buy me a beer | My Custom OC 3.0.3.8


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Satya - Safiramedia » Sat Jun 25, 2022 11:00 pm

xxvirusxx wrote:
Wed Jun 22, 2022 8:21 pm
Wow so hard....
catalog/view/theme/default/template/product/product.twig


Change this

Code: Select all

            <div class="form-group{% if option.required %} required {% endif %}">
              <label class="control-label">{{ option.name }}</label>
              <div id="input-option{{ option.product_option_id }}">
                {% for option_value in option.product_option_value %}
                <div class="radio">
                  <label>
                    <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />
                    {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}
                    {{ option_value.name }}
                    {% if option_value.price %}
                    ({{ option_value.price_prefix }}{{ option_value.price }})
                    {% endif %}
                  </label>
                </div>
                {% endfor %}
              </div>
            </div>
To this

Code: Select all

            <div class="form-group{% if option.required %} required {% endif %}">
              <label class="control-label">{{ option.name }}</label>
              <div id="input-option{{ option.product_option_id }}">
                {% for option_value in option.product_option_value %}
                <div class="radio">
                  <label>
                    <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />
                    {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {% endif %}" class="img-thumbnail" /> {% endif %}
                    {{ option_value.name }}
                    {% if option_value.price %}
                    {% endif %}
                  </label>
                </div>
                {% endfor %}
              </div>
            </div>
You own me 10.000 euro :laugh: :laugh: :laugh: :laugh:
your script doesn't work dude... price still show

User avatar
New member

Posts

Joined
Tue Jun 15, 2021 10:56 am
Location - Indonesia

Post by xxvirusxx » Mon Jun 27, 2022 3:53 pm

Refresh Ocmod modifications, clear theme cache, sass cache

My Converted Modules | Opencart Upgrade Service | Free Dashboard Maps | Buy me a beer | My Custom OC 3.0.3.8


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: paulfeakins and 5 guests