Skip Navigation

[Resolved] Woocommerce shortcode

This support ticket is created 5 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by AlexanderN4266 4 years, 12 months ago.

Assisted by: Minesh.

Author
Posts
#1426735

Hi,
There is an issue with theshortcode display. When I insert the shortcode, the value of the shortcode is displayed on front-end with a whitespace blank line below it. It is so for all different shortcodes. Please advise how to resole it.

#1427521

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please clarify what shortcode you are using and where exactly you added that shortcode?

Could you please send me to debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#1427695

The problem is in the View's template where I createD a table to display product characteristics and insert Toolset fields...
ONE EXAMPLE:
<div class="col-sm-3">
<dl>
<dt>[types field='books-price'][/types]</dt> /*THE PROBLEM OF WHITESPACE OCCUR WHERE-EVER I INSERT TOOLSET SHORTCODE FOR ANY FIELD */
<dt><img src="hidden link"><span class="my-font-family-size">В наличии</span></dt>
<dt>РЕЙТИНГ</dt>
<dt><span class="my-font-family-size">ДОСТАВКА: <br/>
Курьером - сегодня<br/>
До ПВЗ - сегодня</span>
<dt><button>В КОРЗИНУ</button></dt>
<dt><span class="my-font-family-size">АКЦИИ, БОНУСЫ И СКИДКИ: <br/>
Покупай дешевле за Аальфус Токены</span></dt>
</dl>
</div>

To check how it looks on front-end: hidden link (you can see a lot of white space below the price)

#1427741

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share wp-admin access details and the content template link where you added the price shortcode.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1430991

Hi, could you look at the issue please?

#1431195

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've added the following CSS code to your view's content template CSS box:

#container-fluid-books-id dt p{
  margin-bottom:10px;
}

Can you please confirm now bottom space is reduced.

#1431329

Thanks, You were most helpful. I was a little busy figuring out the white space below other Toolset shortcodes used in a table - for the whitespace was below other Toolset shortcodes, too. By analogy with your css snippet, I managed to delete it in other places as well. Thank you very much for your time.

#1431331

My issue is resolved now. Thank you!