-
AuthorPosts
-
November 29, 2016 at 3:54 pm #718299
Hi,
Another 2 more question
1: is there any quick CSS that I can put in the enfold shop demo like
(when click the “about” button, it will scroll down to the ” About” Section
but in the shop demo, it is not working, how to make it work like the default demo???
additional info:
“Apply a custom ID Attribute to the section, so you can apply a unique style via CSS. This option is also helpful if you want to use anchor links to scroll to a sections when a link is clicked
Use with caution and make sure to only use allowed characters. No special characters can be used.”2: In the single product page, when I used the Advanced Layout builder, I found that the price is not visible when open the single product page .
I guess this is because of below
Please note that the Advanced Layout Builder for products will not work with all WooCommerce Extensionsso any way to make the price shows same as the shop page??
November 30, 2016 at 10:39 am #718664Urgently waiting for feedback
December 2, 2016 at 5:31 pm #719835Hi,
1- Please refer to this post – http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/
2- Please add following code to Functions.php file in Appearance > Editorfunction avia_price_sc(){ global $woocommerce; $currency = get_woocommerce_currency_symbol(); $price = get_post_meta( get_the_ID(), '_regular_price', true); $sale = get_post_meta( get_the_ID(), '_sale_price', true); if($sale){ ?> <p class="woocommerce-Price-amount"><del><?php echo $currency; echo $price; ?></del> <?php echo $currency; echo $sale; ?></p> <?php } elseif($price){ ?> <p class="woocommerce-Price-amount"><?php echo $currency; echo $price; ?></p> <?php } } add_shortcode( 'avia_price', 'avia_price_sc' );
then use following shortcode to display your prices
[avia_price]
Best regards,
YigitDecember 4, 2016 at 3:02 pm #720220Thanks, Yigit
question 1: solved perfectly, thanks very much, this is very helping.
question 2: I copied your code directly to the the end of Funtions.php and uploaded(FTP) it to the website(under the file wp-includes), but somehow can’t get access to the website anymore, so I deleted your code and upload again, it works normally as usual.
what might make this error?
December 6, 2016 at 5:13 pm #721147Hi,
You should add the code to wp-content/themes/enfold/functions.php file. The one under wp-includes folder is not the correct one :)
Best regards,
YigitDecember 14, 2016 at 3:22 am #724066hello,
Tried as per your instruction, but not working.December 16, 2016 at 3:36 pm #725375Hi,
Can you please post FTP logins here privately as well so we can look further into it?
Best regards,
YigitDecember 21, 2016 at 3:10 am #726863Hi,
please check the shop, there are several test
if using the default, then the prices show normally
if using your advance layout, then the prices don’t show,( I’ve tried your way, since it was not working, so I deleted the code and make it back to normal for your analysis)by the way, I checked the woocommerce plugin, and realized that there is an option to tick:” enable woocommerce lightbox.
why in the enfold, this option doesn’t exsit.December 21, 2016 at 3:12 am #726864woocommerce lightbox" />
December 28, 2016 at 7:42 pm #728384Hi,
I am unfortunately not able to go to WordPress dashboard using provided logins. We need to be able to edit the product to apply the changes. Can you please check the logins once again?
Also, please feel free to request – or vote if already requested – such feature on Enfold feature request form.Enjoy your holidays!
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.