Forum Replies Created
-
AuthorPosts
-
I appreciate you continuing to look into this. I don’t know of any scripts. I put more info in the private content section. Let me know if you are able to login with that. Renita
I updated the PHP version and tried again. it still is happening.
February 23, 2024 at 10:48 pm in reply to: First product not showing in the cart icon count #1435254I tried disabling all the plugins before posting the topic. That did not resolve it. I do not have a caching plugin and I am not using the caching settings built into the theme. So I don’t think that is the issue. Just in case I tried it in an incognito tab and cleared caches. It still did not work.
This is happening on more than one of my sites. Any insight as to why?
February 15, 2024 at 4:52 pm in reply to: woocommerce+Enfold ‘added to cart’ pop-up doesn’t shows up #1434424I am having a similar issue. When I am on a single product page and add the first product to the cart, the icon flashes “1” but then it is gone and it says “No product in the cart” even though there is one. If I go to a new page, it will show the 1 product. If I reload the page, it says it has to resend and it adds a second quantity to the first item in the cart but still does not show a product in the cart.
Once I add a second item to the cart it seems to fix itself, it shows any new products added immediately.
I am not using ALB for the product page and I do not have any customizations to woocommerce.
When I am on a product category page and click “add to cart” it does show the first item in the cart icon count immediately.
When I am on the cart page and remove all the items from the cart, the cart icon still has the count that loaded on the page originally, even though there are no products left in the cart.
Thanks,
RenitaI used wp-optimize to remove transients. I do not have a secondary cache plugin on the two sites that I tested this on. I disabled the enfold performance compression. opened the site in a new browser to ensure it all cleared. I am still having the same issue on both sites I tested, I did not try any others.
I guess close it. It has been loading. Thanks for your help.
I was just about ready to call the host but the site is loading ok for me now. I am going to keep an eye on it but maybe what you did worked.
I can check with the host but I just wanted to check with you first to see if you saw any issues with other plugins conflicting with the theme.
I did do that and was able to access the site but was not able to figure out why it was happening. I placed the ftp info in the private content area.
Any thoughts why the site has a fatal error?
February 3, 2021 at 6:23 pm in reply to: Couldn't add the font because the server didn’t respond. Please reload the page. #1277431I found the issue. Even though it was the newest version of PHP the zip module was not enabled. I changed that setting and it worked.
February 3, 2021 at 5:54 pm in reply to: Couldn't add the font because the server didn’t respond. Please reload the page. #1277427I am having a similar problem. I downloaded the Google Font zip. It had 2 files in it, a .ttf and a .txt. I uploaded it with both and that didn’t work. Then I extracted it and zipped only the .ttf file. That also did not work. Are there settings on the server that would prevent this from working? I am using the latest version of PHP and Enfold.
It seems to be working again.
This reply has been marked as private.@mensmaximus Thanks so much this was a big help.
I believe I have this figured out.
I have a child theme installed but when the enfold theme updates this is overwrote. How can I put this page in my child theme folder and have it pull from there? or is that not a good idea?
The only thing I found is that when you had the portfolio item previously set to a custom URL and you switch back to the default …. it still uses the custom URL that was in there.
I have to delete the custom URL, save it so it is blank and then switch it to default.
I can live with that since I typically don’t have custom URLs … but thought I should post it if anyone is looking for a similar modification.
If there is a fix for the code though I would try it. I am just not sure what to change to fix it.
Renita
That didn’t work either but I took the different ones you sent and compared what worked and didn’t from each and came up with this ….
if(!post_password_required($id)){
$custom_link = get_post_meta( $id ,’_portfolio_custom_link’, true);
$custom_link_url = get_post_meta( $id ,’_portfolio_custom_link_url’, true);if($custom_link) $this->loop[$key][‘url’] = wp_get_attachment_image_src(get_post_thumbnail_id($id), ‘full’)[0]; // custom link toggled, link featured img
if($custom_link_url) $this->loop[$key][‘url’] = $custom_link_url; // custom link toggled and URL set, link to URL.
}This seems to work … do you see anything that would cause problems?
Thanks,
RenitaThe screen shots you did are what I am looking for but the code didn’t make it happen.
Thanks,
RenitaHere is what I replaced:
if(!post_password_required($id)){
$custom_link = get_post_meta( $id ,’_portfolio_custom_link’, true) != “” ? get_post_meta( $id ,’_portfolio_custom_link_url’, true) : false;
if($custom_link) $this->loop[$key][‘url’] = $custom_link;
}This is what I replaced it with:
if(!post_password_required($id)){
$custom_link = get_post_meta( $id ,’_portfolio_custom_link’, true);
$custom_link_url = get_post_meta( $id ,’_portfolio_custom_link_url’, true);if($custom_link) $this->loop[$key][‘url’] = wp_get_attachment_image_src(get_post_thumbnail_id($id), ‘full’)[0]; // custom link toggled, link featured img
if($custom_link_url) $this->loop[$key][‘url’] = $custom_link; // custom link toggled and URL set, link to URL.
}All custom links are broke – they go to ../custom
The blank custom field do open the image lightbox
The default opens the light box too … not the permalink.My hope was ….
Modded:
default – permalink
custom left blank – feature image lightbox
custom with entry – whatever is entered.This way the URLs would almost always be dynamic whether it was to the permalink or the lightbox.
Thanks – sorry for any confusion.
RenitaThis page all needs to open the pages http://teddwoodcustomcabinetry.com/beta/doors/ …. all are set to custom right now for that to work.
But when you are on one of the pages like http://teddwoodcustomcabinetry.com/beta/cabinetry-option/alameda-door/ all the door options need to open the larger image
The modification has made it that if you have it set at default or at custom … they both open lightbox. On the default setting I wanted it to open the link to the page. Right now I have them all set to custom so I can put the page link in for it to work but I will have to go back and change them all if there are changes to the URL.
Sorry. Thought it was set as an admin. It is now.
Here is a portfolio item in the door category ….. http://teddwoodcustomcabinetry.com/beta/cabinetry-option/alameda-door/
There are 3 items in the category right now Alemeda, Boardwalk and Yellowstone. I have a lot more to add.
When on http://teddwoodcustomcabinetry.com/beta/cabinetry-option/alameda-door/ the right “next” tab skips Boardwalk and goes to Yellowstone.
It seems to page through all the portfolio items by the order they were entered.
I added the code you provided but it didn’t change change the order. Is there somewhere Is there a settings area that I can set the order of all portfolio items?
thanks, Renita
I found this and tried it but it didn’t seem to do anything.
function custom_post_grid_query( $query, $params ) {
$query[‘orderby’] = array( ‘cat’, ‘title’);
$query[‘order’] = ‘ASC’;
return $query;
}
add_filter( ‘avia_post_grid_query’, ‘custom_post_grid_query’, 10, 2);checking to see if you have an update for me?
You say “not easily possible” …. does that mean that it could be done but would require a fee for customizing? I would be willing to pay to have it done since this is a large part of what we are trying to accomplish on the website.
-
AuthorPosts