*

slycrespo

  • **
  • 21 posts
Price field and currency
« on: August 10, 2023, 10:57:52 AM »
Hello!
On delta theme, there is currency field before price field (look at the attached picture).I want to have price field before curreny field and currency field doesn't need dropdown, because I use only one currency. How can I do that? Below is the current code:

Code: [Select]
<!-- PRICE -->
          <?php if(osc_price_enabled_at_items()) { ?>
            <label for="price"><?php _e('Price''delta'); ?></label>

            <div class="price-wrap">
              <div class="inside">
                <div class="enter<?php if($price_type == 'FREE' || $price_type == 'CHECK') { ?> disable<?php ?>">
                  <div class="input-box">
                    <?php ItemForm::price_input_text(); ?>
                    <?php echo del_simple_currency(); ?>
                  </div>

                  <div class="or"><?php _e('or''delta'); ?></div>
                </div>
               
                <div class="selection">
                  <a href="#" data-price="0" <?php if($price_type == 'FREE') { ?>class="active"<?php ?> title="<?php echo osc_esc_html(__('Item is offered for free''delta')); ?>"><span class="isTablet isDesktop"><?php _e('Free''delta'); ?></span><span class="isMobile"><?php _e('Item for free''delta'); ?></span></a>
                  <a href="#" data-price="" <?php if($price_type == 'CHECK') { ?>class="active"<?php ?> title="<?php echo osc_esc_html(__('Based on agreement with seller''delta')); ?>"><span class="isTablet isDesktop"><?php _e('Deal''delta'); ?></span><span class="isMobile"><?php _e('Check with seller''delta'); ?></span></a>
                </div>
              </div>
            </div>
          <?php ?>

*

MB Themes

Re: Price field and currency
« Reply #1 on: August 10, 2023, 02:34:33 PM »
You can do it by CSS mods only
Code: [Select]
.post-edit .price-wrap .enter .simple-select {right: 0px;left:auto;}
.post-edit .price-wrap .enter #price {padding-left:10px;padding-right:110px;}


.. and few more little mods.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slycrespo

  • **
  • 21 posts
Re: Price field and currency
« Reply #2 on: August 10, 2023, 03:45:12 PM »
I did it like you said, but it's not ok.. Now looks like this (see attached picture).. I forgot to mention that the curreny can be just text (if it makes any easier).

*

MB Themes

Re: Price field and currency
« Reply #3 on: August 12, 2023, 07:07:30 AM »
As I told it require few more css mods those you will need to do. It was start/guide to updates needed.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slycrespo

  • **
  • 21 posts
Re: Price field and currency
« Reply #4 on: August 14, 2023, 09:11:40 AM »
Now looks a little bit better, but how can i get rid of dropdown (see attached picture).. Thanks!

*

slycrespo

  • **
  • 21 posts
Re: Price field and currency
« Reply #5 on: August 17, 2023, 10:33:02 AM »
Please help...

*

MB Themes

Re: Price field and currency
« Reply #6 on: August 24, 2023, 03:37:50 PM »
Sorry no help with css customizations, you can learn it and do by yourself or pay developer. You can get here just basic guide.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots