Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Miscellaneous shortcodes not displayed
- This topic has 5 replies, 3 voices, and was last updated 4 years, 7 months ago by admin.
-
AuthorPosts
-
June 11, 2020 at 9:27 pm #14212accattoneSpectator
Many shortcodes listed under “Miscellaneous” do not display on my website’s shop at: [accattone.be/buy]
I am referring especially at [wp_eStore_remaining_copies_counter id=1]
and the similar [wp_eStore_product_details id=1 info=”available_copies”]
which should display under the ADD TO CART button for each physical product.
I have NO idea why this happens, as everything else from eStore worked perfectly from the start.
All plug-ins, add-ons, etc. are up to date, including LayTheme which I use to create each page.
On the eStore WP dashboard, all these physical products have no variations, and the “Inventory Control” section works as well, automatically deducting the Sales Count from the Available copies: I just cannot display the information dynamically to my customers.
Thank you for any advice to solve this case!
June 12, 2020 at 1:23 am #80688wzpModeratorJust for clarification… you did change “id=1” to the applicable “Product ID” number?
Do you have that shortcode on that page at the moment? I am not seeing anything there (if the shortcode is not rendering then just the plain text shortcode should be on the page).
June 12, 2020 at 9:22 am #80689accattoneSpectatorHi wzp,
Thank you for your reply. Yes, all id are valid below the various products, and shortcodes are there, for instance below each of the first 3 products from top. They do not take any blank space in the page either, just like if they didn’t exist.
I have tried inserting them elsewhere on my website, it’s the same.
Re you last comment, I guess the reason why the plain text shortcode doesn’t show on the page is that LayTheme uses a “gridder” in which Images, Texts, HTML element AND shortcodes can be inserted (see screenshot: [dropbox.com/s/3wrx3xlrr35nz8l/Screen%20Shot%202020-06-12%20at%2011.18.34.png?dl=0] In the screenshot, the [wp_eStore_add_to_cart id=9] works perfectly everywhere on the website, and the [wp_eStore_remaining_copies_counter id=9] doesn’t show anywhere.
June 12, 2020 at 9:01 pm #80690wzpModerator…LayTheme uses a “gridder” in which Images, Texts, HTML element AND shortcodes can be inserted…
Please see if you can make 1 test page, that does not use this “gridder” feature. And maybe another test page in which multiple shortcodes are in the same grid cell. We need to eliminate “LayTheme” as the culprit. It is possible that those blocks are not running the shortcode processing at all (like they are supposed to).
June 16, 2020 at 1:04 am #80691accattoneSpectatorDear wzp,
Sadly it’s not possible to build a page without the “gridder” once you are in LayTheme.
But I think I found out: it seems that my shortcodes other than “ADD TO CART” are TRANSPARENT. Indeed, if I select all my page [http://accattone.be/buy] and copy-paste it as plain text in a Text Editor, the right text does appear: “77 copies left” (for shortcode “[wp_eStore_remaining_copies_counter id=10] copies left”).
The text isn’t WHITE, because even when I change the background color it’s still invisible.
If I use the other shortcode, [wp_eStore_product_details id=99 info=”available_copies”], and I willingly give a non-existent product ID (99), the following alert text DOES APPEAR in red on the website. (“The value you specified for the “info” parameter does not exist in the eStore product database. Please check the shortcode documentation to learn the usage of this shortcode.”)
So something is there but not quite.
Could it be a problem of CSS and color management? (below my custom CSS).
Thank you
div.shopping_cart{
padding:0px !important;
}
div.shopping_cart a{
color:#000 !important;
}
div.shopping_cart a:hover{
color:#000 !important;
text-decoration: none;
}
table {
border-spacing: 0px;}
td a{
color:black !important;
text-decoration:none !important;
}
th, td, th{
padding-right:5px;
font-weight: normal !important;
height:28px;
border-bottom: 1px solid black !important;
}
td{ text-align:left;}
h2 {
margin:0px;
font-size:17px;
font-weight:normal;
text-transform: uppercase;
}
strong {font-weight:normal;}
.eStore_cart_item_price{
text-align: left !important
}
.eStore_cart_item_price_value, .eStore_cart_item_action_value{
text-align: left !important
}
.eStore_reset_cart_form input[type=”image”], .estore_cart_item_remove_form input[type=”image”] {
max-height:20px !important;
max-width:20px !important;
cursor: pointer;
padding: 0px;
margin: 0px;
border: none;
}
.eStore_paypal_checkout_button{
margin-top:5px;
padding:0px;
border:0px solid #ccc;
max-width:180px;
cursor: pointer;
text-decoration:none !important;
}
.eStore_paypal_checkout_button:hover{
border:0px solid #ddd;
}
June 16, 2020 at 2:15 am #80692adminKeymasterIt’s possible that your font-color and the page color is same somehow with your tweaks/customization.
The best is to do the following test which will help you isolate the source and then you can look into it more:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
The shortcode output from our plugin doesn’t output any font-color for it. So it has to be coming from a CSS tweak you have done or a plugin or theme on this site.
-
AuthorPosts
- You must be logged in to reply to this topic.