creativepickle
Forum Replies Created
-
Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageHi Andrew-
I finally got it working by changing
$Products->products([ 'title' => $post->post_title, 'dropzone_product_buy_button' => '#product_buy_button', 'dropzone_product_title' => '#product_title', 'dropzone_product_description' => '#product_description', 'dropzone_product_pricing' => '#product_pricing', 'dropzone_product_gallery' => '#product_gallery', 'hide_wrapper' => true, 'show_compare_at'=>'true', 'add_to_cart_button_text' => 'Add to Cart' ]);to this:
$args = apply_filters('wps_products_single_args', [ 'product_id' => $DB_Products->get_product_ids_from_post_ids($post->ID), 'dropzone_product_buy_button' => '#product_buy_button', 'dropzone_product_title' => '#product_title', 'dropzone_product_description' => '#product_description', 'dropzone_product_pricing' => '#product_pricing', 'dropzone_product_gallery' => '#product_gallery', 'hide_wrapper' => true, 'limit' => 1, 'show_compare_at'=>'true', 'add_to_cart_button_text' => 'Add to Cart' ]); $Products->products($args);Still not sure why it only affected certain items, but it works now, so I am moving on. Thanks for your help!
Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageHi Andrew- wondering if you had any more advice on this issue.
Thanks!
Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageSorry, that didn’t do it. Also it seems like if that was the issue it would have affected more than just these few products. For example this one doesn’t load:
https://shopredbird.com/products/c-small-plaza-letter/
But this one loads fine:
https://shopredbird.com/products/baroque-pearl-coin-choker/
If it sheds any light, the ones that don’t load were all added to shopify together (like within a few minutes of each other) and were the most recent ones added.
Thanks for your continued help with this!
Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageYes. 2.2.3.
Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageYes, they do. In my custom theme I am using more or less the default wps template code, with a few different wrappers and some ACF custom field calls. My page code:
<?php defined('ABSPATH') ?: die; get_header('wps'); global $post; $Products = WP_Shopify\Factories\Render\Products\Products_Factory::build(); $Products->products([ 'title' => $post->post_title, 'dropzone_product_buy_button' => '#product_buy_button', 'dropzone_product_title' => '#product_title', 'dropzone_product_description' => '#product_description', 'dropzone_product_pricing' => '#product_pricing', 'dropzone_product_gallery' => '#product_gallery', 'hide_wrapper' => true, 'show_compare_at'=>'true', 'add_to_cart_button_text' => 'Add to Cart' ]); ?> <section class="banner-section subpage scaler" style="background:url(<?php if(get_field('banner_image')){ $img = get_field('banner_image');echo $img['url'];} else{$images = get_field('default_banner_images', 'option');$rand = array_rand($images, 1);echo $images[$rand]['url'];} ?>) no-repeat center center;"> <div class="banner-content central centered"> <h1 class="banner-title"><?php the_title(); ?></h1> </div> </section> <div class="central content-wrap"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <section class="wps-container"> <?php do_action('wps_breadcrumbs') ?> <div class="wps-product-single row"> <div class="wps-product-single-gallery col"> <div id="product_gallery"></div> </div> <div class="wps-product-single-content col"> <div id="product_title"> <?php // Renders title server-side for SEO $Products->title([ 'post_id' => $post->ID, 'render_from_server' => true ]); ?> </div> <div id="product_pricing"></div> <div id="product_description"> <?php // Renders description server-side for SEO $Products->description([ 'post_id' => $post->ID, 'render_from_server' => true ]); ?> </div> <div id="product_buy_button"></div> </div> </div> </section> </main><!-- #main --> </div><!-- #primary --> </div> <?php get_footer('wps');Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageThanks Andrew-
I tried these. To be specific, here is what I did:
1) Removed all synced data in WPS
2) Deactivated all plugins
3) Re-Activated WPS
4) Resynced all dataThe result was that my main navigation broke, and the items that were not working before are still not working. Any other ideas? It is strange because it is specific to these same 10 or so items. Everything else works fine.
Thanks for any other advice. I do really need to get this working.
Forum: Plugins
In reply to: [ShopWP] Products synced but not showing on product pageI’m having exactly this problem. I have about 10 products that just won’t load on their individual product pages. They show up in collections and lists, but if you click through, you get the gray “loading” bars and they just never load. I’ve resynced the data 5 times now, cleared the cache, and checked for javascript errors. I’ve updated to the latest Pro version, and checked the products for any differences they have with other products. Nothing.
Here is an example:
https://shopredbird.com/products/c-small-plaza-letter/
Any advice? I’ve been pretty frustrated today trying to get this working, and my client is breathing down my neck.
Hi Shawn-
I submitted a support ticket through your site as requested and never heard anything back. Any thoughts?
Forum: Plugins
In reply to: [ShopWP] Collection Options not WorkingPS – the shortcodes seem to work as expected with the options functioning correctly. I would just like to be able to affect all collection single pages without having to build each one from scratch with shortcodes.
This happened to my client and at least in my case, it was fixed by changing the settings for the homepage to Static Homepage and adding the homepage SEO details on the page itself. Hope that helps.
Forum: Plugins
In reply to: [LinkedIn Company Updates] Old posts and images being pulled inI figured out my issue for anyone who is interested. The issue is that the plugin is also pulling job listings into the array along with status updates. Because the array format is different, it can’t properly call the timestamp on those.
I fixed it by adding the following parameter to the api call on line 469 of linkedin-company-updates.php:
&event-type=status-updateSo that line should now read:
$api_response = file_get_contents('https://api.linkedin.com/v1/companies/' . $linkedin_company_id . '/updates?count=' . $linkedin_limit . '&format=json&event-type=status-update&oauth2_access_token='.$access_token, false);Hope that helps.
Forum: Plugins
In reply to: [LinkedIn Company Updates] Old posts and images being pulled inExact same issue here. Any advice?
Forum: Plugins
In reply to: [Verve Meta Boxes] [Plugin: Verve Meta Boxes] TInyMCE Support on TextareaBrilliant! Thanks a ton for this. So helpful.
Forum: Plugins
In reply to: [Verve Meta Boxes] [Plugin: Verve Meta Boxes] TInyMCE Support on TextareaCan you be a bit more specific about where exactly to add that code? Looks like just what I need, but can’t seem to make it work…
Thanks!
Forum: Plugins
In reply to: [Shadowbox JS] [Plugin: Shadowbox JS] Duplicate images in multiple galleriesThanks a lot for looking into it, Matt.
I’m using another plugin to cycle the list items that contain the images, and I figured that was probably the source of the issue. I think I’ll just have to bail on using shadowbox here, at least where the gallery function is concerned.
But I really appreciate your help- Thanks a ton.