Your account expired support, please renew to get your support.

Home Forums Themes Support Gecko Most images did not upload on new install!

Topic Resolution: Resolved

Tagged: 

Viewing 132 reply threads
  • Author
    Posts
    • #30287
      brent
      Support Expired

      Hi.

      Most of the images did not upload on my new install of Gecko. Most are unfound, some are in a folder that doesn’t exist from 2016, etc. This of course has caused many areas to not work properly. I’ve never had this happen before.

      I am NOT going to use Woocommerce on this particular site. I have actually turned off most areas of it. BUT I do need to get the following to work correctly please:

      BLOG SLIDER – LATEST POST FROM THE BLOG – PORTFOLIO – GALLERY

      I have uploaded some new ones for featured images on posts. I also added new slider images.

      Someone will probably need to login to fix this. Please reply ASAP as I only have limited time to work on this.

      Screenshots:
      Home page: https://www.awesomescreenshot.com/image/3969500/524160b1ca3b7485634c62a1ae1a0507

      Blog: https://www.awesomescreenshot.com/image/3969503/be6acf1c6f5e46f9dfe5f56810366690

      Single blog post: https://www.awesomescreenshot.com/image/3969507/d7237b9bde914df03edc301cc80dece8

      Portfolio: https://www.awesomescreenshot.com/image/3969510/90f4ad27f0d4bab68c76e6b188ecf6b5

       

      Thank you!

      Brent

       

      Thank you!
      Brent

    • #30288
      Harry
      Support Expired

      Hi Brent,

      Thank you for choose our theme.

      Sorry because inconvenience.

      Please download file at https://drive.google.com/open?id=1PNKV8SIKhvrk5o_dPDPuLCXxo6WEVlb_ and upload to folder wp-content > uploads

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30292
      brent
      Support Expired

      So do I upload all of the files OR just the 2016 folder with all of the images?

      Thank you!
      Brent

    • #30293
      Harry
      Support Expired

      You just upload the “2016” folder.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30294
      brent
      Support Expired

      Well I did that and it still doesn’t work.

      Here’s an example: I couldn’t get a screenshot of the code but it shows source UNKNOWN. I’VE NEVER SEEN THAT BEFORE…

      Decorating Tips: Make Room Better

       

      Thank you!
      Brent

    • #30295
      brent
      Support Expired

      like this: <img src(unknown) …

      Thank you!
      Brent

    • #30296
      Harry
      Support Expired

      Hi Brent,

      This issue cause by plugin “Featured Image by URL” and I deactivate this plugin it now ok.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30297
      brent
      Support Expired

      hey you’re the man!

      thank you Harry! I’ll let you know if there’s any other issues. Have a great day!

      Brent

      Thank you!
      Brent

    • #30298
      brent
      Support Expired

      I’m still missing some images. if you look in the media library towards the bottom there are several.

      Example: [https://]instockgems.com/wp-content/uploads/2019/04/img-22.png

      Thank you!
      Brent

    • #30299
      Harry
      Support Expired

      Hi,

      Sorry this image also miss on our demo, please check where it use and replace with your.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30323
      brent
      Support Expired

      Thanks for you help Harry. Things are look up 🙂

      While I have you I need to change the search form to include the entire site. Should I ask that here or should I open a new ticket? I wasn’t sure what was best for you guys.

      Thanks,

      Brent

      Thank you!
      Brent

    • #30326
      Harry
      Support Expired

      Hi Brent,

      By default the search function only support search by product or search by blog post, if you want more please use plugin https://wordpress.org/plugins/smart-woocommerce-search

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30329
      brent
      Support Expired

      Thanks Harry, I’ll check that out in a bit.

      I’ve never used this page builder before but I created a post without it and I can not get the page to show a shortened version of the page on the blog with the “Read More” button. I tried an excerpt also and nothing. How do I do that? What am I missing here? You can look on my blog page and see the new post (BRENT WALLACE • FINE GEMSTONE DEALER) here:

      https://instockgems.com/blog/

      Thank you again!

      Thank you!
      Brent

    • #30332
      Harry
      Support Expired

      Hi Brent,

      You can use PageBuilder to separate blog content with more paragraph on the first paragraph you can add readmore button by click on icon like this screenshot https://prnt.sc/nbdby7

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30353
      brent
      Support Expired

      Hey harry this contact form in the footer (Newsletter) is not in Contact form 7. Where do I edit that?

      Thanks!

      Thank you!
      Brent

    • #30354
      brent
      Support Expired

      Harry how do I get this to read the text from the excerpt and not the the blog post?

      Thank you!
      Brent

    • #30357
      Harry
      Support Expired

      Hi Brent,

      The signup form in footer in Dashboard > Mailchimp for WordPress > Form.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30359
      Harry
      Support Expired

      For blog, please go to JanStudio > Theme Option > Blog > Blog Listing Settings > Content display on blog list > Excerpt.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30371
      brent
      Support Expired

      Hey Harry can you help me find where I lost my page header on the product detail pages?

      Sorry, I must have turned something off. I’m not sure where to add my own header image there.

      Thank you,

      Brent

      Thank you!
      Brent

    • #30372
      Harry
      Support Expired

      Hi Brent,

      Please go to JanStudio > Theme Option > WooCommerce > General Settings > Page Title > turn on

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30426
      brent
      Support Expired

      Hi Harry.

      I have a few issues, hoping you can help.

      1- I’m using an inventory management program (https://www.salesbinder.com/) which is perfect for my needs. It syncs products with Woocommerce. I had a plugin conflict which I was finally able to resolve so things are now syncing exactly as they come from Salesbinder. During the conflict I lost your default products that I was using for testing. Could you send those to be please? I’m assuming I can import them or something. I’m not quite sure how to do this. If you can’t do that it’s okay, i’ll deal with it.

      2- How do I show the description area at the top of the page? (see pic)

      3- More importantly I need to show the attributes from the Salesbinder products that are synced over (see pic). I added the “WooCommerce Show Attributes” plugin (https://wordpress.org/plugins/woocommerce-show-attributes/) so that the attributes would show up above the price (see settings pic). But they’re not showing. It’s very important that I am able to do this. Is there an issue with the theme because they’re not showing up. Can you help me with this please?

      Thanks again!

      Brent

      FYI: You are by far the best tech support I’ve ever had! Seriously, you’re on top of it and it’s greatly appreciated! Especially for a do it yourselfer like myself 🙂

      Attachments:
      You must be logged in to view attached files.

      Thank you!
      Brent

    • #30430
      brent
      Support Expired
      This reply has been marked as private.

      Thank you!
      Brent

    • #30432
      brent
      Support Expired
      This reply has been marked as private.

      Thank you!
      Brent

    • #30433
      brent
      Support Expired

      I forgot to add the link to the documentation for the attribute plugin:

      WooCommerce Show Attributes – Documentation

      Thank you!
      Brent

    • #30435
      Harry
      Support Expired

      Hi Brent,

      Thank you for your kind words

      1. You can use sample WooCommerce’s product by download attach, extract and import via Tools > Import > WooCommerce products > Run Import

      2. Please add below code to gecko-child > functions.php

      /** Remove short description if product tabs are not displayed */
      add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
      
      function woo_remove_product_tabs( $tabs ) {
          unset( $tabs['description'] );      	// Remove the description tab
          return $tabs;
      }
      
      function dot_reorder_product_page() {
          if ( get_option('woocommerce_product_tabs') == false ) {
              remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
          }
      }
      add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
      
      /** Display product description the_content */
      function dot_do_product_desc() {
      
          global $woocommerce, $post;
      
          if ( $post->post_content ) : ?>
              <div itemprop="description" class="item-description">
                  <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
      
                  <!-- <h2><?php echo $heading; ?></h2> -->
                  <?php the_content(); ?>
      
              </div>
          <?php endif;
      }
      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      3. Did you create product on “salesbinder” and sync to woocommerce site or create your product on WooCommerce?
      I check your woocommerce product but don’t see color attribute, you need create attribute http://prntscr.com/ndz174 at https://instockgems.com/wp-admin/edit.php?post_type=product&page=product_attributes and don’t need to use plugin.

      Kind regards

      Attachments:
      You must be logged in to view attached files.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30440
      brent
      Support Expired

      I replied to your email earlier.

      I used the script and immediately knew there was something wrong with the syntax. I did some research and then fixed and replaced the correct ” < > } etc. So it loads into the page and no longer breaks the it but it doesn’t work properly. The description field at the bottom went away but the other still doesn’t display.

      I then turned off the woo attribute plugin but that didn’t seem right either. So right now the plugin is on and this code is in there:

      /** Remove short description if product tabs are not displayed */
      add_filter( “woocommerce_product_tabs”, “woo_remove_product_tabs”, 98 );

      function woo_remove_product_tabs( $tabs ) {
      unset( $tabs[“description”] ); // Remove the description tab
      return $tabs;
      }

      function dot_reorder_product_page() {
      if ( get_option(“woocommerce_product_tabs”) == false ) {
      remove_action( “woocommerce_single_product_summary”, “woocommerce_template_single_excerpt”, 20 );
      }
      }
      add_action( “woocommerce_before_main_content”, “dot_reorder_product_page” );

      /** Display product description the_content */
      function dot_do_product_desc() {

      global $woocommerce, $post;

      if ( $post->post_content ) : ?>

      <?php $heading = apply_filters(“woocommerce_product_description_heading”, __(“Product Description”, “woocommerce”)); ?>

      <!– <h2><?php echo $heading; ?></h2> –>
      <?php the_content(); ?>

      <?php endif;
      }
      add_action( “woocommerce_single_product_summary”, “dot_do_product_desc”, 20 );

      Check out this page: is also quivers when trying to scroll…

      https://instockgems.com/product/7-5mm-trill-blue-sapphire-1-56ct/

      Thanks!

       

      Thank you!
      Brent

    • #30442
      Harry
      Support Expired

      Hi Brent,

      1. You don’t need use plugin for to show variation on product page. If you create your products from salesbinder you need create attributes on their app to this can sync to your store.

      2. You need copy code on this topic, do not copy code via email. Some characters will change to another format.

      If you still want keep product description at bottom, please change prev code to

      /** Remove short description if product tabs are not displayed */
      function dot_reorder_product_page() {
          if ( get_option('woocommerce_product_tabs') == false ) {
              remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
          }
      }
      add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
      
      /** Display product description the_content */
      function dot_do_product_desc() {
      
          global $woocommerce, $post;
      
          if ( $post->post_content ) : ?>
              <div itemprop="description" class="item-description">
                  <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
      
                  <!-- <h2><?php echo $heading; ?></h2> -->
                  <?php the_content(); ?>
      
              </div>
          <?php endif;
      }
      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      Please reply on our support forum, that will help us easy track your issue and help you faster.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30459
      brent
      Support Expired

      Hi, I’ll try to explain each concern below for you.

      1- First off I must have a setting turned off somewhere because there is no description being displayed at the top at all like there is shown below from your sample site. Please see this pic:

       

       

       

      2- I am entering all of the information in Salesbinder NOT Woocommerce. Salesbinder lets me create “Custom fields” where I enter the data which is supposed to sync over to Woo. (their documentation says: Data synchronization includes, item details, photos, and even CUSTOM FIELDS). I need to display those custom fields. I was told that they sync over as attributes. Here’s a pic of the custom field area in Salesbinder and also the HTML from the form where I enter the information: Those fields are also used for inventory control, reports, customer management, leads and so on.

      SEE THIS PICTURE BELOW >>>

      HERE IS THE HTML CODE OF THE ENTRY FORM >>>

      <fieldset class=”show”>
      <legend>Custom Fields</legend>
      <input type=”hidden” name=”item_details[0][id]” id=”item-details-0-id” value=”b77b34f2-833e-4859-959d-26eab6a3886f”>
      <input type=”hidden” name=”item_details[0][custom_field_id]” id=”item-details-0-custom-field-id” value=”5cac2672-80b0-466c-9c03-0ab80a8e0006″>

      <label for=”item-details-0-value”>Color</label>
      <input type=”text” name=”item_details[0][value]” maxlength=”255″ id=”item-details-0-value” value=”Blue”>

      <input type=”hidden” name=”item_details[1][id]” id=”item-details-1-id” value=”74f3d7a1-b3fb-437c-9475-84263da35fb7″>
      <input type=”hidden” name=”item_details[1][custom_field_id]” id=”item-details-1-custom-field-id” value=”5cac2672-6cbc-4dd8-9d67-0ab80a8e0006″>

      <label for=”item-details-1-value”>Shape</label>
      <input type=”text” name=”item_details[1][value]” maxlength=”255″ id=”item-details-1-value” value=”Trill”>

      <input type=”hidden” name=”item_details[2][id]” id=”item-details-2-id” value=”56ba6bad-6ba6-4983-af63-fc076ed7b40c”>
      <input type=”hidden” name=”item_details[2][custom_field_id]” id=”item-details-2-custom-field-id” value=”5cac2672-39ec-4a62-bfe9-0ab80a8e0006″>

      <label for=”item-details-2-value”>Weight</label>
      <input type=”text” name=”item_details[2][value]” maxlength=”255″ id=”item-details-2-value” value=”1.56″>

      <input type=”hidden” name=”item_details[3][id]” id=”item-details-3-id” value=”864899bd-0102-4cdc-92a1-a7a7ab69bc15″>
      <input type=”hidden” name=”item_details[3][custom_field_id]” id=”item-details-3-custom-field-id” value=”5cac2672-d6ac-46b6-96c5-0ab80a8e0006″>

      <label for=”item-details-3-value”>Origin</label>
      <input type=”text” name=”item_details[3][value]” maxlength=”255″ id=”item-details-3-value” value=”Sri Lanka”>

      <input type=”hidden” name=”item_details[4][id]” id=”item-details-4-id” value=”66d15aec-5621-4bae-8513-62675604c84c”>
      <input type=”hidden” name=”item_details[4][custom_field_id]” id=”item-details-4-custom-field-id” value=”5cac2672-3eb0-4c80-bed0-0ab80a8e0006″>

      <label for=”item-details-4-value”>Treatment</label>
      <input type=”text” name=”item_details[4][value]” maxlength=”255″ id=”item-details-4-value” value=”Standard Heat”>

      <input type=”hidden” name=”item_details[5][id]” id=”item-details-5-id” value=”61e53af2-f5a7-4849-9e12-f6ae3801705c”>
      <input type=”hidden” name=”item_details[5][custom_field_id]” id=”item-details-5-custom-field-id” value=”5cac2672-742c-4911-81e0-0ab80a8e0006″>

      <label for=”item-details-5-value”>Dimensions</label>
      <input type=”text” name=”item_details[5][value]” maxlength=”255″ id=”item-details-5-value” value=”7.5mm”>

      <input type=”hidden” name=”item_details[6][id]” id=”item-details-6-id” value=”605f4dc6-072e-4bc7-9413-a9f4d6f1eac0″>
      <input type=”hidden” name=”item_details[6][custom_field_id]” id=”item-details-6-custom-field-id” value=”5cae1dfa-6d40-440d-b6ff-1eb80a8e0006″>

      <label for=”item-details-6-value”>Gem Guide Rating</label>
      <input type=”text” name=”item_details[6][value]” maxlength=”255″ id=”item-details-6-value” value=”7″>

      </fieldset>

      THIS HTML IS THE SPECIFIC “CUSTOM FIELD AREA” OF THE FORM ABOVE  >>>

      <fieldset class=”show”>
      <legend>Custom Fields</legend>
      <input type=”hidden” name=”item_details[0][id]” id=”item-details-0-id” value=”b77b34f2-833e-4859-959d-26eab6a3886f”>
      <input type=”hidden” name=”item_details[0][custom_field_id]” id=”item-details-0-custom-field-id” value=”5cac2672-80b0-466c-9c03-0ab80a8e0006″>

      <label for=”item-details-0-value”>Color</label>
      <input type=”text” name=”item_details[0][value]” maxlength=”255″ id=”item-details-0-value” value=”Blue”>

      <input type=”hidden” name=”item_details[1][id]” id=”item-details-1-id” value=”74f3d7a1-b3fb-437c-9475-84263da35fb7″>
      <input type=”hidden” name=”item_details[1][custom_field_id]” id=”item-details-1-custom-field-id” value=”5cac2672-6cbc-4dd8-9d67-0ab80a8e0006″>

      <label for=”item-details-1-value”>Shape</label>
      <input type=”text” name=”item_details[1][value]” maxlength=”255″ id=”item-details-1-value” value=”Trill”>

      <input type=”hidden” name=”item_details[2][id]” id=”item-details-2-id” value=”56ba6bad-6ba6-4983-af63-fc076ed7b40c”>
      <input type=”hidden” name=”item_details[2][custom_field_id]” id=”item-details-2-custom-field-id” value=”5cac2672-39ec-4a62-bfe9-0ab80a8e0006″>

      <label for=”item-details-2-value”>Weight</label>
      <input type=”text” name=”item_details[2][value]” maxlength=”255″ id=”item-details-2-value” value=”1.56″>

      <input type=”hidden” name=”item_details[3][id]” id=”item-details-3-id” value=”864899bd-0102-4cdc-92a1-a7a7ab69bc15″>
      <input type=”hidden” name=”item_details[3][custom_field_id]” id=”item-details-3-custom-field-id” value=”5cac2672-d6ac-46b6-96c5-0ab80a8e0006″>

      <label for=”item-details-3-value”>Origin</label>
      <input type=”text” name=”item_details[3][value]” maxlength=”255″ id=”item-details-3-value” value=”Sri Lanka”>

      <input type=”hidden” name=”item_details[4][id]” id=”item-details-4-id” value=”66d15aec-5621-4bae-8513-62675604c84c”>
      <input type=”hidden” name=”item_details[4][custom_field_id]” id=”item-details-4-custom-field-id” value=”5cac2672-3eb0-4c80-bed0-0ab80a8e0006″>

      <label for=”item-details-4-value”>Treatment</label>
      <input type=”text” name=”item_details[4][value]” maxlength=”255″ id=”item-details-4-value” value=”Standard Heat”>

      <input type=”hidden” name=”item_details[5][id]” id=”item-details-5-id” value=”61e53af2-f5a7-4849-9e12-f6ae3801705c”>
      <input type=”hidden” name=”item_details[5][custom_field_id]” id=”item-details-5-custom-field-id” value=”5cac2672-742c-4911-81e0-0ab80a8e0006″>

      <label for=”item-details-5-value”>Dimensions</label>
      <input type=”text” name=”item_details[5][value]” maxlength=”255″ id=”item-details-5-value” value=”7.5mm”>

      <input type=”hidden” name=”item_details[6][id]” id=”item-details-6-id” value=”605f4dc6-072e-4bc7-9413-a9f4d6f1eac0″>
      <input type=”hidden” name=”item_details[6][custom_field_id]” id=”item-details-6-custom-field-id” value=”5cae1dfa-6d40-440d-b6ff-1eb80a8e0006″>

      <label for=”item-details-6-value”>Gem Guide Rating</label>
      <input type=”text” name=”item_details[6][value]” maxlength=”255″ id=”item-details-6-value” value=”7″>

      </fieldset>

      CUSTOM FIELD ID’S 1 THRU 6 need to be displayed: name=”item_details[1][custom_field_id]” id=”item-details-1-custom-field-id” …

       

       

      3- If possible I would prefer to use the “WooCommerce Show Attributes” plugin because their documentation says that I can display this information in all of these areas that are important for us. If you can allow this to work then you won’t need to write a bunch of new code and I’ll have all of these benefits:

      Your product attributes will also be displayed at these locations (with option to turn them on or off):

      – Cart page
      – View Order page on front end for customers
      – Emails that goes to the customer, including:
      – Receipt (Order Processing) email that goes to the customer
      – Order Complete email that goes to the customer
      – Customer Invoice email
      – New Order email that goes to the administrator
      – Admin Order Details page on the back end, under Order Items
      – Grouped product page
      – Shop page (including product category and tag archives) (Off by default. You must enable this option on the settings page.)

       

       

      4- I removed the script from functions.php before so that you see the code exactly as it comes from Salesbinder AND the “WooCommerce Show Attributes” plugin is turned on. You are more than welcome to login as an admin on my site if that’s helpful.

       

      5- Please let me know if the Salesbinder information is NOT being synced over to Woo. If that’s the case I’ll need to get more specifics from them. But I was told that the information syncs as attributes.

      Thank you so much for your help! Let me know if there’s more you need. Have a great day,

      Brent

       

       

      Attachments:
      You must be logged in to view attached files.

      Thank you!
      Brent

    • #30463
      Harry
      Support Expired

      Hi Brent,

      1. Please add the recommend code that will help you show product description like our demo

      /** Remove short description if product tabs are not displayed */
      function dot_reorder_product_page() {
          if ( get_option('woocommerce_product_tabs') == false ) {
              remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
          }
      }
      add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
      
      /** Display product description the_content */
      function dot_do_product_desc() {
      
          global $woocommerce, $post;
      
          if ( $post->post_content ) : ?>
              <div itemprop="description" class="item-description">
                  <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
      
                  <!-- <h2><?php echo $heading; ?></h2> -->
                  <?php the_content(); ?>
      
              </div>
          <?php endif;
      }
      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      2. Please contact to Salesbinder support they will guide you, i think you need create attribute and variation in Salesbinder not custom field.

      3. The plugin you said only help when you create product in WooCommerce not import product like yours.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30466
      brent
      Support Expired

      Hi Harry.

      I added the code you just sent and the description now shows at the top. But it also still shows at the bottom along with the additional information tab. I assume that the additional information area is the attributes? Correct?

      And the custom code from Salesbinder is NOT showing up? Is that correct also?

      Thank you!
      Brent

    • #30467
      brent
      Support Expired

      Hi again.

      I just talked with the guys at Salesbinder. He says the Custom Fields do sync over as attributes. He seemed puzzled. Here is there API information which is fully accessible. Thought this might be helpful:

      https://www.salesbinder.com/api/

      Also he said we can modify the plugin if needed. I’ll attach a copy for you.

      Thank you so much.

      Brent

      Attachments:
      You must be logged in to view attached files.

      Thank you!
      Brent

    • #30469
      Harry
      Support Expired

      Hi Brent,

      If you want hide description on bottom, please use the first code i sent you.

      /** Remove short description if product tabs are not displayed */
      add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
      
      function woo_remove_product_tabs( $tabs ) {
          unset( $tabs['description'] );      	// Remove the description tab
          return $tabs;
      }
      
      function dot_reorder_product_page() {
          if ( get_option('woocommerce_product_tabs') == false ) {
              remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
          }
      }
      add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
      
      /** Display product description the_content */
      function dot_do_product_desc() {
      
          global $woocommerce, $post;
      
          if ( $post->post_content ) : ?>
              <div itemprop="description" class="item-description">
                  <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
      
                  <!-- <h2><?php echo $heading; ?></h2> -->
                  <?php the_content(); ?>
      
              </div>
          <?php endif;
      }
      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      2. You should request support from “salesbinder” support team to help you get custom field to WooCommere product. And WooCommerce is most popular plugin on WordPress you can’t request this plugin edit to work with salesbinder. The salesbinder have to edit to work with WooCommerce.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30480
      brent
      Support Expired

      Hey Harry have you ever worked with Dokan Multi Vendor Marketplace? I’m very serious about using this instead of Salesbinder. Many more options that are completely integrated with woo. It will give us a place for my friend from Sri Lanka to add and manage all of his inventory etc from the frontend. Tons of options and I found a trial offer that I can try. Here’s a brief review if you’re interested. I could go on and on but I have a few questions for you?

      1- I really need to be able to incorporate certain features of the Gecko theme, like being able to add the YouTube videos (very important). Would we be able to add to functions and add this into the vendor dashboard where he adds a product? Here’s an example picture  of where the vendor would be adding his products for the store. I’m not sure but from what I read this doesn’t change any features of Woocommerce it just adds to them.

      2- There are some other features from a plugin called Booster for Woocommerce  that I may like to incorporate also. One in particular is being able to add their “cost of good” plugin.

      3- I just read where they have created a new template file which you can easily edit and replace with child themes. Here’s the page.

      Anyway, what are thoughts?

      Thanks, Brent

      Thank you!
      Brent

    • #30481
      brent
      Support Expired

      Any idea why Youtube would be blocking my video? First time I’ve seen this.

      Thanks!

       

      Attachments:
      You must be logged in to view attached files.

      Thank you!
      Brent

    • #30487
      Harry
      Support Expired

      Hi Brent,

      1. I’m not have much experience with Dokan plugin. This plugin for site where has multi vendors can upload there products and sale on your site and you share commission for vendors. If you has only one friend in Sri Lanka help you upload product you only need create “Shop Manager” account he will create product for your site.

      2. If you want add video in vendor dashboard you need support from Dokan team

      3. To more details of plugin features you should contact to plugin author, they know their features clearer than me.

      4. Yes, that cool feature of Dokan that will help you easier to customize your store.

      5. Did you try on other browser. If issue still there please check this topic https://www.ampercent.com/how-to-open-youtube-when-blocked-in-office/18295/

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30499
      brent
      Support Expired

      Found these errors in the console: Why would the Youtube error say that? Does something need to be updated or changed?

      Thanks.

      Uncaught SyntaxError: Unexpected token <
      content.js:1 [Deprecation] Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.
      h @ content.js:1
      (anonymous) @ content.js:1
      (anonymous) @ content.js:1
      (index):1

      Refused to display ‘https://www.youtube.com/watch?v=I9RN4kLJnfo&feature=youtu.be&#8217; in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

       

      Thank you!
      Brent

    • #30504
      Harry
      Support Expired

      Hi Brent,

      Please follow this topic https://stackoverflow.com/questions/51976152/refused-to-display-https-www-youtube-com-watchv-okzrsbjqjos-in-a-frame-beca

      Just change your link of Youtube to fix.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30731
      brent
      Support Expired

      Hi Harry, how are you?

      Hey how can I remove the “uncategorized” category? I’ve tried several snippets in the functions file but no luck. Am I missing a setting somewhere?

      Thanks! Brent

      Here’s the last one I tried:

      /* Remove uncategorized in Woocommerce */
      function wc_hide_selected_terms( $terms, $taxonomies, $args ) {
      $new_terms = array();
      if ( in_array( ‘product_cat’, $taxonomies ) && !is_admin() && is_shop() ) {
      foreach ( $terms as $key => $term ) {
      if ( ! in_array( $term->slug, array( ‘uncategorized’ ) ) ) {
      $new_terms[] = $term;
      }
      }
      $terms = $new_terms;
      }
      return $terms;
      }
      add_filter( ‘get_terms’, ‘wc_hide_selected_terms’, 10, 3 );

      Thank you!
      Brent

    • #30732
      Harry
      Support Expired

      Hi Brent,

      You don’t need use any code.

      Please go to Products > Categories and make other category as “default”

      After that you can delete “uncategorized” category.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30733
      brent
      Support Expired

      Thank you sir!

      Thank you!
      Brent

    • #30775
      brent
      Support Expired

      Hi Harry.

      I’m using the script that you gave me to display the long description at the top of the product detail page. But I need to remove the “Short Description” AND I also want to remove the tabs down below. Please see this pic:

      https://www.awesomescreenshot.com/image/3999369/b03e6eb8884b3acefd0507b191e375e1

      Thank you! Brent

      Here is script that I’m currently using in the function file:

      /** Remove short description if product tabs are not displayed */
      function dot_reorder_product_page() {
      if ( get_option(‘woocommerce_product_tabs’) == false ) {
      remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
      }
      }
      add_action( ‘woocommerce_before_main_content’, ‘dot_reorder_product_page’ );

      /** Display product description the_content */
      function dot_do_product_desc() {

      global $woocommerce, $post;

      if ( $post->post_content ) : ?>

      <?php $heading = apply_filters(‘woocommerce_product_description_heading’, __(‘Product Description’, ‘woocommerce’)); ?>

      <!– <h2><?php echo $heading; ?></h2> –>
      <?php the_content(); ?>

      <?php endif;
      }
      add_action( ‘woocommerce_single_product_summary’, ‘dot_do_product_desc’, 20 );

      Thank you!
      Brent

    • #30781
      Harry
      Support Expired

      Hi Brent,

      Please change code to

      /** Remove short description if product tabs are not displayed */
      add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
      
      function woo_remove_product_tabs( $tabs ) {
          unset( $tabs['description'] );
          unset( $tabs['additional_information'] );
          unset( $tabs['reviews'] );     	// Remove the description tab
          return $tabs;
      }
      
      function dot_reorder_product_page() {
          if ( get_option('woocommerce_product_tabs') == false ) {
              remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
          }
      }
      add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
      
      /** Display product description the_content */
      function dot_do_product_desc() {
      
          global $woocommerce, $post;
      
          if ( $post->post_content ) : ?>
              <div itemprop="description" class="item-description">
                  <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
      
                  <!-- <h2><?php echo $heading; ?></h2> -->
                  <?php the_content(); ?>
      
              </div>
          <?php endif;
      }
      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      And add new code to JanStudio > Theme Option > General Layout > Custom CSS

      .woocommerce-product-details__short-description {
      	display: none;
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30820
      brent
      Support Expired

      Thanks Harry! I’ll check it out.

      Also: What can I do to change the text of SKU: to> Stock#:

      I added this to functions but it didn’t work:

      Thanks! You’re awesome!

      /* Change text in Woocommerce */
      add_filter( ‘gettext’, ‘edit_translate_woocommerce_text’, 999, 3 );

      function edit_translate_woocommerce_text( $translated, $text, $domain ) {

      // STRING 1
      $translated = str_ireplace( ‘SKU: ‘, ‘Stock#: ‘, $translated );

      // Add additional below

      return $translated;
      }

      Thank you!
      Brent

    • #30824
      Harry
      Support Expired

      Hi Brent,

      Please copy file meta.php in plugins > woocommerce > templates > single-product to gecko-child > woocommerce > single-product and change SKU text to Stock

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30826
      brent
      Support Expired

      Hey thanks again Harry.

      Guess what? They updated Salesbinder and the attributes now sync! And my products are now syncing with Facebook! Both of those plugins were broken. Yeah! 🙂

      So this changes some things I’d like to do. What can I add to functions to make the “Additional Information” tab information show up directly below the description at the top of the detailed page? I’ll use some of the last code to remove the other tabs and then I’ll style the Additional info.

      Wow! Huge progress after so long! If you can’t tell I’m pretty excited! I feel like I’ve been banging my head against the wall for a long time now and getting nowhere 🙂

      Thanks man!

      Brent

      Thank you!
      Brent

    • #30827
      brent
      Support Expired

      Wow, that worked smooth! I assume I can edit other files in a similar fashion, is that correct? I didn’t know you could use woocommerce in the child theme. That’s awesome. Is that a universal thing or is it theme related to your code for Gecko?

      While we’re on this is there an easy way to locate where certain files are located? A search or something. I’ve seen things where I’d like to make a change but I have no idea where the correct template/file is located.

      Man thanks again. It is so so nice to have incredible help! by the way, where do you live?

      Brent

      Thank you!
      Brent

    • #30828
      Harry
      Support Expired

      Hi Brent,

      Please add more code to gecko-child > functions.php

      // Add "additional information" after add to cart
      add_action( 'woocommerce_single_product_summary', 'additional_info_under_add_to_cart', 25 );
      function additional_info_under_add_to_cart() {
          global $product;
      
          if ( $product && ( $product->has_attributes() || apply_filters( 'wc_product_enable_dimensions_display', $product->has_weight() || $product->has_dimensions() ) ) ) {
              wc_display_product_attributes( $product );
          }
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30829
      Harry
      Support Expired
      This reply has been marked as private.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30832
      brent
      Support Expired

      So there’s an issue. Somewhere I’ve lost the related items below the tabs area. I don’t what that’s all about. Also when I added the code to remove the tabs from yesterday it broke the site so I removed it. The Related products are okay on this page: https://instockgems.com/product/7-5mm-trill-blue-sapphire-1-56ct/ but missing here: https://instockgems.com/product/rectangular-cushion-pink-sapphire-1-17ct/

      Here’s what I have in functions now:

      /** Remove short description if product tabs are not displayed */
      function dot_reorder_product_page() {
      if ( get_option(‘woocommerce_product_tabs’) == false ) {
      remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
      }
      }
      add_action( ‘woocommerce_before_main_content’, ‘dot_reorder_product_page’ );

      /** Display product description the_content */
      function dot_do_product_desc() {

      global $woocommerce, $post;

      if ( $post->post_content ) : ?>

      <?php $heading = apply_filters(‘woocommerce_product_description_heading’, __(‘Product Description’, ‘woocommerce’)); ?>

      <!– <h2><?php echo $heading; ?></h2> –>
      <?php the_content(); ?>

      <?php endif;
      }
      add_action( ‘woocommerce_single_product_summary’, ‘dot_do_product_desc’, 20 );

      // Add “additional information” after add to cart
      add_action( ‘woocommerce_single_product_summary’, ‘additional_info_under_add_to_cart’, 25 );
      function additional_info_under_add_to_cart() {
      global $product;

      if ( $product && ( $product->has_attributes() || apply_filters( ‘wc_product_enable_dimensions_display’, $product->has_weight() || $product->has_dimensions() ) ) ) {
      wc_display_product_attributes( $product );
      }
      }

      Brent

      I live in Oregon, Northwest USA. Beautiful corner of the world 🙂 Ever been here?

      Thank you!
      Brent

    • #30833
      Harry
      Support Expired

      Hi Brent,

      The product https://instockgems.com/product/rectangular-cushion-pink-sapphire-1-17ct/ it doesn’t show related because it belong to the category https://instockgems.com/product-category/sapphire-pink/ it only one product, when you have more than 2 products. The products in this category will show related products.

      It beautiful place. I wish i can visit but hard to get Visa from Vietnam to USA and ticket is expensive.

      Have you ever been in VietNam?

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30834
      brent
      Support Expired

      okay, got it, I didn’t know that. Thanks.

      So how do we now get rid of the tabs at the bottom now without breaking the site? 🙂

      No, never been there. Maybe someday. I’m hoping to go see my good friend in Sri Lanka later in the year. Not sure yet, and yes expensive, I know.

      Thank you!
      Brent

    • #30835
      Harry
      Support Expired

      I add the code get rid of Additional Information tab and Review tab at the bottom, it not break your site.

      Do you want complete remove tab at bottom? (for Vendor Info, More products) too?

      If that please add below code to Theme Option > General Layout > Custom CSS

      .woocommerce-tabs.wc-tabs-wrapper.mt__80 {
      	display: none;
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30837
      brent
      Support Expired

      Hey Harry, Salesbinder will only sync over one category, which is not the main default category for all gemstones. Is there a way we can automatically assign the main category to all of those items too?

      I’m headed to bed. Thanks again for your fantastic help. Things are coming together! 🙂

      Have a great day, talk later.

      Brent

      Thank you!
      Brent

    • #30838
      Harry
      Support Expired

      Hi Brent,

      Please contact to plugin author Salesbinder. I’m not sure about this.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30867
      brent
      Support Expired

      Hey Harry we were able to move the attributes from the tabs and display them below the description above. Can we move the attributes so that they are actually included INSIDE OF THE DESCRIPTION AREA? Of course I’d still need to have the main description above this.

      This would help me in a great way! The products now sync over to Facebook automatically but they do not include the attributes which are a huge portion of my description. Also when I begin sharing products to Instagram they’ll also be included that way.  Can you change that for me?

      Thanks, Brent

      Thank you!
      Brent

    • #30872
      Harry
      Support Expired

      Hi Brent,

      I see it now the attribute already show inside product description http://prntscr.com/nk6vbp

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30912
      brent
      Support Expired

      Hi Harry. I was out at my dad’s last night so I couldn’t reply.  Incredible 4-OVERTIME basketball game and our team won! It was crazy! anyway…

      1- The attributes are not inside ot the description area. They are still located just below it. I only styled the attributes with CSS and removed the table borders etc. But I do need them inside of the description area so that they’ll show on Facebook.

      Thank you.

      Thank you!
      Brent

    • #30916
      Harry
      Support Expired

      Hi Brent,

      If you want like this you have to contact to Salesbinder team.

      We can’t control the content you sync from other server.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30917
      brent
      Support Expired

      Hi Harry. I don’t think I explained what I was after very well, sorry.

      My request has nothing to do with Salesbinder. Salesbinder is syncing well. The other day you gave me code to move the attributes that are in the ADDITIONAL INFORMATION TAB up to the top of the page directly below the description. What I’m asking is can you move that tab information INSIDE or the description area. So that it’s included there.

       

      Thank you!
      Brent

    • #30918
      Harry
      Support Expired

      Hi Brent,

      This is 2 separate content of WooCommerce element (description & additional ìnormation).

      As i understand you want merge additional information into description.

      It can’t do with WooCommerce.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30919
      brent
      Support Expired

      Okay I see. No problem.

      I have another question about the My Account area. I am trying to modify and add a “GO SHOP” button to the dashboard to show up like in the “My Downloads” and “My Orders” tabs. I made a copy of the “/woocommerce/myaccount/dashboard.php” file and put it into my child theme like we did with the meta.php but nothing shows up when I edit it. I added the file to: woocommerce > myaccount > dashboard.php

      What did I do wrong? 🙂

      Thank you!
      Brent

    • #30920
      brent
      Support Expired

      Hey Harry,

      1- Never mind with adding the GO SHOP button! I added a sidebar and added it there. 🙂

      2- But could you help me change the weight of ounces (oz) to carats (ct). I’m not sure where that would be.

      Thanks, Brent

      Thank you!
      Brent

    • #30927
      Harry
      Support Expired

      Hi Brent,

      1. Please add below code to gecko-child > functions.php

      /*
       * Add carat to weight unit
       * Author: https://levantoan.com
       * */
      add_filter('woocommerce_products_general_settings','devvn_add_weight_unit');
      function devvn_add_weight_unit($settings){
          foreach ( $settings as &$setting ) {
              if ( $setting['id'] == 'woocommerce_weight_unit' ) {
                  $setting['options']['carat'] = __('carat','devvn');
              }
          }
          return $settings;
      }

      2. Go to WooCommerce > Settings > Products > Weight unit and change http://prntscr.com/nkmr83

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30947
      brent
      Support Expired

      Thanks Harry! That’s perfect!

      Thank you!
      Brent

    • #30980
      brent
      Support Expired

      Hey Harry I don’t understand this. When I try to use jquery to target an element in Woocommerce it’s like it just doesn’t work. I’ve tried it several times before and I’m just puzzled. I can use jquery throughout the rest of WordPress but not here. What am I missing?

      Thanks. Brent

      Thank you!
      Brent

    • #30987
      Harry
      Support Expired

      Hi Brent,

      Can you explain more the issue, i still not understand.

      Thanks

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #30991
      brent
      Support Expired

      Hi there.

      I’m using a featured video plugin on the single product page (https://wordpress.org/plugins/woo-featured-video/) and I’d like to simply have the YouTube video play in a lightbox. I found a plugin that’ll do that (https://wordpress.org/plugins/responsive-youtube-vimeo-popup/) and it appears that I can simply add a class to the video and have it do this. Before I added the plugin I thought I’d test to see if I could simply add the class but I can’t. Any ideas?

      Here’s my jquery:

      // YouTube video popup
      if($(‘.single-product-thumbnail .slick-slide .fluid-width-video-wrapper’).length > 0) {
      $(‘.single-product-thumbnail .slick-slide .fluid-width-video-wrapper’).addClass(‘wp-video-popup’);
      }

       

      I’ve also tried multiple times to simply add a class to an element and for some reason it just doesn’t alway work. It seems as though it only happens with woocommerce pages.

      Thank you!
      Brent

    • #30992
      brent
      Support Expired

      I have actually written the plugin developer of the featured video plugin and said this:

      I’m using a non-Wordpress inventory program (Salesbinder) that syncs product information over to Woocommerce including attributes. One of the attributes I’m syncing over is a YouTube video URL. I am trying to automate as much as possible and what I’d like to do is to be able to use that URL (if it exists) for the featured video on the single product page.

      He says he will do this for me, here is his reply:

      Hi Brent,If I understood you correctly, you want the video URL to be gotten from product attribute.
      That sounds cool.
      I will create a apply_filters hook in there so that you can modify the video URL as you like.

      So my question above will probably be taken care of and I also asked him about showing the Youtube video in a lightbox but I haven’t heard back on that yet.

      But again I’m just puzzled about adding a simple jQuery’s that never work. I am adding them directly into the Custom JS Code area that you provide in the settings.

      Thank you!
      Brent

    • #31002
      Harry
      Support Expired

      Hi Brent,

      Please add below code to line 13 of functions.php in gecko-child

      wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/custom.js', array( 'jquery' ) );

      After that create file custom.js in gecko-child and add your script to this file.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31028
      brent
      Support Expired

      Thanks Harry!

      Thank you!
      Brent

    • #31142
      brent
      Support Expired

      Hi Harry.

      Can we move this “in-stock” weight up between “price” and the “description” please?

      Thank you, Brent

       

      Thank you!
      Brent

    • #31143
      Harry
      Support Expired

      Hi Brent,

      Please edit file variation.php in plugins > woocommerce > templates > single-product > add-to-cart and change code like this http://prntscr.com/nnsfuw

      It now this file still doesn’t support override in child theme.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31180
      brent
      Support Expired

      Hey Harry do you have any idea why the description doesn’t show up in the Quick View?

      http://tinyurl.com/y6tgd8zf

      Thank you!
      Brent

    • #31182
      brent
      Support Expired

      Harry one other request also if you would please.

      I would like to add a script to functions that will automatically assign the “All Gemstones” category (ID = 114) to every Woocommerce item. When items are automatically added from Salesbinder it will only allow me to select one (1) category which syncs well but I would also like to have everything in one category also. I’ve search but haven’t been able to find a snippet to do this. Can you help?

      Thanks again!

      Brent

      Thank you!
      Brent

    • #31208
      Harry
      Support Expired

      Hi Brent,

      Please try follow this topic https://stackoverflow.com/questions/48304421/automatically-assign-products-to-a-defined-product-category-in-woocommerce

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31216
      brent
      Support Expired

      Thank you, I got that to work!

      Can you answer this please from above:

      Do you have any idea why the description doesn’t show up in the Quick View?

      http://tinyurl.com/y6tgd8zf

      Thanks again, you’re the best!

      Brent

       

       

      Thank you!
      Brent

    • #31221
      Harry
      Support Expired

      Hi Brent,

      Please copy file content-quickview.php in theme > gecko > core > libraries > vendors > woocommerce > templates to gecko-child > woocommerce

      and add below code to line 97

      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31224
      brent
      Support Expired

      Hi Harry, I couldn’t get that to work.

      Here’s a screenshot of what I did. I’m headed to bed. I’ll check back in the AM.

      Thanks!

       

      Attachments:
      You must be logged in to view attached files.

      Thank you!
      Brent

    • #31230
      brent
      Support Expired

      Harry the file you requested (content-quickview.php) was not there but the file (content-quickview-product.php) was. I added the line as you said (pictured above).

      I then added it to gecko-child > woocommerce and that didn’t work.

      I then added it to gecko-child > woocommerce > templates and that didn’t work either.

      Would this be correct? Add it to:

      gecko-child > core > libraries > vendors > woocommerce > templates

      Please advise and thank you!

      Brent

       

      Thank you!
      Brent

    • #31244
      Harry
      Support Expired

      Hi Brent,

      I’m sorry it doesn’t have any way to override quickview. You have to edit direct in gecko > core > libraries > vendors > woocommerce > templates > content-quickview-product.php

      and backup this file for the next update.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31286
      brent
      Support Expired

      Hey Harry I keep getting notices to update WPBakery Page Builder. How do I do that?

      I bought an $8 unlicensed copy to do that for now but is there a license that I need to use from the theme?

      Thanks,

      Brent

      Thank you!
      Brent

    • #31289
      Harry
      Support Expired

      Hi Brent,

      We will release update together with our theme update. Do not recommend use unlicensed version.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31290
      brent
      Support Expired

      Hi Harry.

      I already updated it. How can I revert back? Or do I need to? I really don’t want to have to manually update if I can avoid it. Will the next theme update overwrite it? or do I need to fix something? Version 6.0.2

      Sorry,

      Brent

      P.S. I use a revert plugin but the option doesn’t show up on that particular plugin.

      Thank you!
      Brent

    • #31291
      Harry
      Support Expired

      Hi Brent,

      You can revert by delete current version and go to Appearance > Install plugin to install old version.

      If old version still work well on your site you don’t need update immediately when plugin author release big update ( 5.x – 6.x).

      We have to check compatible between our theme and new version of plugin before update.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31651
      brent
      Support Expired

      Hi Harry, how are you?

      I’m hoping you can help me out. I’ve added woocommerce to another site of mine and I’d like to add the ajax mini cart that we are using in Gecko. Is that a plugin that you were using? Or how would I go about that?

      Thank you,

      Brent

      Thank you!
      Brent

    • #31652
      brent
      Support Expired

      oh, forgot to give you the URL: https://martahowelljewelry.com/shop/

      Thank you!
      Brent

    • #31653
      Harry
      Support Expired

      Hi Brent,

      The Ajax mini-cart in feature integrated in our theme. We do not use plugin for it.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31654
      brent
      Support Expired

      Thank you sir! Hope you’re well.

      Thank you!
      Brent

    • #31655
      brent
      Support Expired

      Hey Harry I’m getting a notice to update WPBakery Page Builder again.

      Do you have an update?

      thanks,

       

       

      Thank you!
      Brent

    • #31656
      Harry
      Support Expired

      Hi Brent,

      Please update theme and after that you can update WP Bakery PageBuilder in Apperance  > Install plugins

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31798
      brent
      Support Expired

      Hi Harry, how ya doing?

      I created a category of “closeouts” and I don’t want those items to show up on the regular /shop page.

      But I do want them to show up on the category page: https://instockgems.com/product-category/closeouts/

      I found a script but it hide them everywhere. Can you help please?

      Thanks, Brent

       

      This what I used… figured you’d have a better solution:

      /* Exclude Close Outs the shop page */
      function custom_pre_get_posts_query( $q ) {

      $tax_query = (array) $q->get( ‘tax_query’ );

      $tax_query[] = array(
      ‘taxonomy’ => ‘product_cat’,
      ‘field’ => ‘slug’,
      ‘terms’ => array( ‘closeouts’ ), // Don’t display category on the shop page
      ‘operator’ => ‘NOT IN’
      );

      $q->set( ‘tax_query’, $tax_query );

      }
      add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );

      Thank you!
      Brent

    • #31799
      Harry
      Support Expired

      Hi Brent,

      Please change code to

      /**
       * Exclude products from a particular category on the shop page
       */
      function custom_pre_get_posts_query( $q ) {
      	
      if( is_shop()) {
          $tax_query = (array) $q->get( 'tax_query' );
      
          $tax_query[] = array(
                 'taxonomy' => 'product_cat',
                 'field' => 'slug',
                 'terms' => array( 'closeouts' ), // Don't display products on the shop page.
                 'operator' => 'NOT IN'
          );
      
          $q->set( 'tax_query', $tax_query );
      }
      }
      add_action( 'woocommerce_product_query', 'custom_pre_get_posts_query' );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31801
      brent
      Support Expired

      Thanks Harry that works great. I do have a couple more question about that.

      If I have multiple categories that I want to hide would I do something like this?

      ‘terms’ => array( ‘closeouts, another-category, another-category2’ ),

      I am using the Dokan plugin where I can have others add products from the frontend. On this page:

      https://instockgems.com/store/brentwallace/

      the test stone still shows up. There’ll be other pages like /store/john OR /store/sally:

      How would I add those in also to hide?

      Thanks again! You’re the best!

      Thank you!
      Brent

    • #31805
      Harry
      Support Expired

      Hi Brent,

      1. I’m not sure.

      2. Please try contact to Dokan team.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31817
      brent
      Support Expired

      Thanks Harry.

      For some reason the description does not show up in the “Quick View” and I need it too. What can we do to fix that?

      https://instockgems.com/shop/

      Thanks again.

      Thank you!
      Brent

    • #31820
      Harry
      Support Expired

      Hi Brent,

      Please add below code to line 97 in gecko > core > libraries > vendors > woocommerce > templates > content-quickview-product.php

      and backup this file for the next update.

      add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

      This file still doesn’t support override in child theme.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31821
      brent
      Support Expired

      I forgot about this.. but I had saved a file from before.

      But it doesn’t show even after making changes and clearing caches. ??

      Thank you!
      Brent

    • #31822
      brent
      Support Expired

      Here’s the page: https://instockgems.com/shop/

      Thank you!
      Brent

    • #31824
      brent
      Support Expired

      Harry I’m headed to bed. Let me know what to do to get the description to show up in the quick view.

      Thank you. Have a good day!

      Brent

      Thank you!
      Brent

    • #31836
      Harry
      Support Expired

      Hi Brent,

      I’m sorry i check many ways but still can’t make description work on quickview.

      We have to let it like now.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31838
      brent
      Support Expired

      Hey Harry, thanks for checking it out, that’s weird. So then I would prefer it if people would go directly to the single detail page. Can we change the link so that it goes directly there?

      Thanks man, your the best.

      Thank you!
      Brent

    • #31839
      brent
      Support Expired

      Hey Harry I temporarily used CSS to hide the Quick View button, What I would like to do if possible would be to change the tooltip on it to “See Details” and have it link directly to the product since we can’t display all of the information there.

      Thank you,

      Brent

      Thank you!
      Brent

    • #31843
      Harry
      Support Expired

      Hi Brent,

      Please add below code to gecko-child > functions.php

      function change_quick_view_link() {
          remove_action( 'woocommerce_after_shop_loop_item', 'jas_gecko_wc_add_buton' );
      }
      add_action('wp_head', 'change_quick_view_link');
      
      function jas_gecko_child_wc_add_buton() {
          global $post, $jassc;
      
          // Get product hover style
          $hover_style = $jassc ? $jassc['hover-style'] : cs_get_option( 'wc-hover-style' );
      
          if ( $hover_style == 1 ) {
              // Quick view
              echo '<a class="btn-quickview cp pr br-36 mb__10" href="' . get_the_permalink() . '" data-prod="' . esc_attr( $post->ID ) . '"><i class="fa fa-eye mr__10"></i>' . esc_html__( 'See Details', 'gecko' ) . '</a>';
      
              // Wishlist
              echo jas_gecko_wc_wishlist_button();
          } elseif ( $hover_style == 2 ) {
              // Quick view
              echo '<a class="btn-quickview cp pr bs-36" href="' . get_the_permalink() . '" data-prod="' . esc_attr( $post->ID ) . '"><i class="fa fa-eye"></i><span class="tooltip pa cw fs__12 ts__03">' . esc_html__( 'See Details', 'gecko' ) . '</span></a>';
      
              // Wishlist
              echo jas_gecko_wc_wishlist_button();
          }
      }
      add_action( 'woocommerce_after_shop_loop_item', 'jas_gecko_child_wc_add_buton' );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31847
      brent
      Support Expired

      Hi Harry.

      Thanks for the code. I added it and it doesn’t work. Only pops up and does the same thing. I don’t understand. Can you help? There’s also some kind of theme error in the console if you look here: https://instockgems.com/shop/

      Thank you.

      Thank you!
      Brent

    • #31848
      Harry
      Support Expired

      Hi Brent,

      Please change code to

      function change_quick_view_link() {
          remove_action( 'woocommerce_after_shop_loop_item', 'jas_gecko_wc_add_buton' );
      }
      add_action('wp_head', 'change_quick_view_link');
      
      function jas_gecko_child_wc_add_buton() {
          global $post, $jassc;
      
          // Get product hover style
          $hover_style = $jassc ? $jassc['hover-style'] : cs_get_option( 'wc-hover-style' );
      
          if ( $hover_style == 1 ) {
              // Quick view
              echo '<a class="cp pr br-36 mb__10" href="' . get_the_permalink() . '" data-prod="' . esc_attr( $post->ID ) . '"><i class="fa fa-eye mr__10"></i>' . esc_html__( 'See Details', 'gecko' ) . '</a>';
      
              // Wishlist
              echo jas_gecko_wc_wishlist_button();
          } elseif ( $hover_style == 2 ) {
              // Quick view
              echo '<a class="cp pr bs-36" href="' . get_the_permalink() . '" data-prod="' . esc_attr( $post->ID ) . '"><i class="fa fa-eye"></i><span class="tooltip pa cw fs__12 ts__03">' . esc_html__( 'See Details', 'gecko' ) . '</span></a>';
      
              // Wishlist
              echo jas_gecko_wc_wishlist_button();
          }
      }
      add_action( 'woocommerce_after_shop_loop_item', 'jas_gecko_child_wc_add_buton' );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31849
      brent
      Support Expired

      Hi Harry.

      Well the links work now 🙂 Most of the errors are gone 🙂 But the tooltip doesn’t show like it did before…?

      Thank you.

      Thank you!
      Brent

    • #31850
      Harry
      Support Expired

      Hi Brent,

      Please add more code to gecko-child > style.css

      .product-button a:hover .tooltip {
      	opacity: 1;
      	visibility: visible;
      	-webkit-transform: translateX(-50%) translateY(-50px);
      	-ms-transform: translateX(-50%) translateY(-50px);
      	-o-transform: translateX(-50%) translateY(-50px);
      	transform: translateX(-50%) translateY(-50px);
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31851
      brent
      Support Expired

      Got it!

      Thanks Harry!

      Thank you!
      Brent

    • #31931
      brent
      Support Expired

      Hey Harry there’s something going on with the site. Some kind of technical difficulty that I’ve never seen before. Would you take a look please. I know WP core has recently updated but not sure what’s going on.

      Shopping Cart

      Thanks,

      Brent

      Thank you!
      Brent

    • #31935
      Harry
      Support Expired

      Hi Brent,

      1. I see you add tracking code of Google to Theme Option > General Settings > Custom JS. It cause conflict JS when contain “script”.

      Please use this plugin https://wordpress.org/plugins/insert-headers-and-footers/

      2. The issue related to cart page i’m not sure which cause problem, please try deactivate plugin one by one and change again.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31939
      brent
      Support Expired

      Well Harry I went through all of the plugins: not the issue.

      I added the plugin and moved the Google script there: not the issue.

      I did find some duplicated jQuery scripts and fixed those: not the issue.

      I finally found the problem with the last script you gave me to add to functions to not show the “closeout” category on the shop page! I added it below… can you fix it please?

      Just about drove myself beyond CRAZY! 🙂 lol

      /**
      * Exclude products from a particular category on the shop page
      */
      function custom_pre_get_posts_query( $q ) {

      if( is_shop()) {
      $tax_query = (array) $q->get( ‘tax_query’ );

      $tax_query[] = array(
      ‘taxonomy’ => ‘product_cat’,
      ‘field’ => ‘slug’,
      ‘terms’ => array( ‘closeouts’ ), // Don’t display products on the shop page.
      ‘operator’ => ‘NOT IN’
      );

      $q->set( ‘tax_query’, $tax_query );
      }
      }
      add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );

      Thank you!
      Brent

    • #31940
      brent
      Support Expired

      Hey Harry I was wrong. It was this script:

      /* Change message for back ordered products */
      function woocommerce_custom_cart_item_name( $_product_title, $cart_item, $cart_item_key ) {
      $altmessage = alt_message();
      if ( $cart_item[‘data’]->backorders_require_notification() && $cart_item[‘data’]->is_on_backorder( $cart_item[‘quantity’] ) ) {
      $_product_title .= __( ‘ – ‘. $altmessage, ‘woocommerce’ ) ;
      }
      return $_product_title;
      }
      add_filter( ‘woocommerce_cart_item_name’, ‘woocommerce_custom_cart_item_name’, 10, 3);

      Thank you!
      Brent

    • #31945
      Harry
      Support Expired

      Hi Brent,

      This code i didn’t suggest you.

      Where you get the code, please wrap the code in < code > tag http://prntscr.com/o55n5h

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31948
      brent
      Support Expired

      Hi Harry.

      I honestly don’t remember what I was trying to do with it. So for now I’ll just leave it out I guess. Here it is:

      /* Change message for back ordered products */
      function woocommerce_custom_cart_item_name( $_product_title, $cart_item, $cart_item_key ) {
      $altmessage = alt_message();
        if ( $cart_item['data']->backorders_require_notification() && $cart_item['data']->is_on_backorder( $cart_item['quantity'] ) ) {
      $_product_title .=  __( ' - '. $altmessage, 'woocommerce' ) ;
      }
      return $_product_title;
      }
      add_filter( 'woocommerce_cart_item_name', 'woocommerce_custom_cart_item_name', 10, 3);

      Right now my big issue is that the plugin that I’m using for dynamic pricing for different roles (iThemeland WooCommerce Dynamic Prices By User Role Plugin) is not working. I have a request in, it was working before the WP update.

      Thank you!
      Brent

    • #31950
      Harry
      Support Expired

      Hi Brent,

      Please try contact to plugin author.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31989
      brent
      Support Expired

      Hey Harry, I’m wanting to add the style# (SKU) directly below the item title on the shop page. I found this script but I’m not sure what the function is for the woocommerce skew to be added ..

      Can you teach me something real quick? :0
      Thanks.

      add_action( 'woocommerce_after_shop_loop_item_title', 'add_sku_to_shop_custom_action', 15 );
       
      function add_sku_to_shop_custom_action() {
      echo 'TEST';
      }

      Thank you!
      Brent

    • #31993
      Harry
      Support Expired

      Hi Brent,

      Please change code to below code

      function shop_show_sku() {
      
      	global $product;
      	
      	if ( $product->get_sku() ) {
      		echo '<div class="product-meta">SKU: ' . $product->get_sku() . '</div>';
      	}
      }
      add_action( 'woocommerce_after_shop_loop_item_title', 'shop_show_sku', 5 );

      Kind regards

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #32640
      brent
      Support Expired

      Hey Harry is there an update for WPBakery Page Builder? Did I miss a theme update? I believe I’m on 1.75.
      Thank you!
      Brent

      Thank you!
      Brent

    • #32643
      Harry
      Support Expired

      Hi Brent,

      It have new version of WPBakery PageBuilder.

      We will release update together with theme soon.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #32997
      brent
      Support Expired

      Hi Harry.

      Is there an update for this?
      WPBakery Page Builder
      You have version 6.0.3 installed. Update to 6.0.5

      Thank you,
      Brent

      Thank you!
      Brent

    • #33001
      Harry
      Support Expired

      Hi Brent,

      Please update theme and after that you can update plugin.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #33127
      brent
      Support Expired

      Hi Harry.
      I finally updated the theme and I have the following… do you need to look at this?

      http://tinyurl.com/y6yv2rsq

      Thanks,
      Brent

      Thank you!
      Brent

    • #33129
      brent
      Support Expired

      Home

      Thank you!
      Brent

    • #33133
      Harry
      Support Expired

      Hi Brent,

      The file https://prnt.sc/orvef9

      “gecko-child/woocommerce/myaccount/orders.php version 3.2.0 is out of date. The core version is 3.7.0”

      https://instockgems.com/wp-admin/admin.php?page=wc-status

      Fixing Outdated WooCommerce Templates

      Please compare your file you override in child theme and merge your change to new version and put new file to child theme.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #33134
      brent
      Support Expired

      Hey harry you’re going to have to help me with this. I’m not sure what to change between the two versions.

      Here’s the code for the orders.php that is in the child theme…

      
      <?php
      /**
       * Orders
       *
       * Shows orders on the account page.
       *
       * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/orders.php.
       *
       * HOWEVER, on occasion WooCommerce will need to update template files and you
       * (the theme developer) will need to copy the new files to your theme to
       * maintain compatibility. We try to do this as little as possible, but it does
       * happen. When this occurs the version of the template file will be bumped and
       * the readme will list any important changes.
       *
       * @see 	https://docs.woocommerce.com/document/template-structure/
       * @package WooCommerce/Templates
       * @version 3.2.0
       */
      
      if ( ! defined( 'ABSPATH' ) ) {
      	exit;
      }
      
      do_action( 'woocommerce_before_account_orders', $has_orders ); ?>
      
      <?php if ( $has_orders ) : ?>
      
      	<table class="woocommerce-orders-table woocommerce-MyAccount-orders shop_table shop_table_responsive my_account_orders account-orders-table">
      		<thead>
      			<tr>
      				<?php foreach ( wc_get_account_orders_columns() as $column_id => $column_name ) : ?>
      					<th class="woocommerce-orders-table__header woocommerce-orders-table__header-<?php echo esc_attr( $column_id ); ?>"><span class="nobr"><?php echo esc_html( $column_name ); ?></span></th>
      				<?php endforeach; ?>
      			</tr>
      		</thead>
      
      		<tbody>
      			<?php foreach ( $customer_orders->orders as $customer_order ) :
      				$order      = wc_get_order( $customer_order );
      				$item_count = $order->get_item_count();
      				?>
      				<tr class="woocommerce-orders-table__row woocommerce-orders-table__row--status-<?php echo esc_attr( $order->get_status() ); ?> order">
      					<?php foreach ( wc_get_account_orders_columns() as $column_id => $column_name ) : ?>
      						<td class="woocommerce-orders-table__cell woocommerce-orders-table__cell-<?php echo esc_attr( $column_id ); ?>" data-title="<?php echo esc_attr( $column_name ); ?>">
      							<?php if ( has_action( 'woocommerce_my_account_my_orders_column_' . $column_id ) ) : ?>
      								<?php do_action( 'woocommerce_my_account_my_orders_column_' . $column_id, $order ); ?>
      
      							<?php elseif ( 'order-number' === $column_id ) : ?>
      								<a href="<?php echo esc_url( $order->get_view_order_url() ); ?>">
      									<?php echo _x( '#', 'hash before order number', 'woocommerce' ) . $order->get_order_number(); ?>
      								</a>
      
      							<?php elseif ( 'order-date' === $column_id ) : ?>
      								<time datetime="<?php echo esc_attr( $order->get_date_created()->date( 'c' ) ); ?>"><?php echo esc_html( wc_format_datetime( $order->get_date_created() ) ); ?></time>
      
      							<?php elseif ( 'order-status' === $column_id ) : ?>
      								<?php echo esc_html( wc_get_order_status_name( $order->get_status() ) ); ?>
      
      							<?php elseif ( 'order-total' === $column_id ) : ?>
      								<?php
      								/* translators: 1: formatted order total 2: total order items */
      								printf( _n( '%1$s for %2$s item', '%1$s for %2$s items', $item_count, 'woocommerce' ), $order->get_formatted_order_total(), $item_count );
      								?>
      
      							<?php elseif ( 'order-actions' === $column_id ) : ?>
      								<?php
      								$actions = wc_get_account_orders_actions( $order );
      
      								if ( ! empty( $actions ) ) {
      									foreach ( $actions as $key => $action ) {
      										echo '<a href="' . esc_url( $action['url'] ) . '" class="woocommerce-button button ' . sanitize_html_class( $key ) . '">' . esc_html( $action['name'] ) . '</a>';
      									}
      								}
      								?>
      							<?php endif; ?>
      						</td>
      					<?php endforeach; ?>
      				</tr>
      			<?php endforeach; ?>
      		</tbody>
      	</table>
      
      	<?php do_action( 'woocommerce_before_account_orders_pagination' ); ?>
      
      	<?php if ( 1 < $customer_orders->max_num_pages ) : ?>
      		<div class="woocommerce-pagination woocommerce-pagination--without-numbers woocommerce-Pagination">
      			<?php if ( 1 !== $current_page ) : ?>
      				<a class="woocommerce-button woocommerce-button--previous woocommerce-Button woocommerce-Button--previous button" href="<?php echo esc_url( wc_get_endpoint_url( 'orders', $current_page - 1 ) ); ?>"><?php _e( 'Previous', 'woocommerce' ); ?></a>
      			<?php endif; ?>
      
      			<?php if ( intval( $customer_orders->max_num_pages ) !== $current_page ) : ?>
      				<a class="woocommerce-button woocommerce-button--next woocommerce-Button woocommerce-Button--next button" href="<?php echo esc_url( wc_get_endpoint_url( 'orders', $current_page + 1 ) ); ?>"><?php _e( 'Next', 'woocommerce' ); ?></a>
      			<?php endif; ?>
      		</div>
      	<?php endif; ?>
      
      <?php else : ?>
      	<div class="woocommerce-message woocommerce-message--info woocommerce-Message woocommerce-Message--info woocommerce-info">
      		<a class="woocommerce-Button button" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
      			<?php _e( 'Go shop', 'woocommerce' ); ?>
      		</a>
      		<?php _e( 'No order has been made yet.', 'woocommerce' ); ?>
      	</div>
      <?php endif; ?>
      
      <?php do_action( 'woocommerce_after_account_orders', $has_orders ); ?>
      
      

      I’ll copy the new orders.php code and add it below…

      Thank you!
      Brent

    • #33135
      brent
      Support Expired

      I honestly don’t know where to find the new file that we’re trying to replace in the updated new theme… ?? sorry

      Thank you!
      Brent

    • #33136
      brent
      Support Expired

      I saved a copy in the child theme as.. orders-previous.php

      Thank you!
      Brent

    • #33137
      Harry
      Support Expired

      Hi Brent,

      The new file in plugin > woocommerce > templates > myaccount > order.php please copy this file to gecko-child > woocommerce > myaccount

      I’m not sure what you did with the file. Please use this plugin to compare https://winmerge.org/?lang=en

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #33144
      brent
      Support Expired

      Hi Harry and thanks for the help.
      I have a Mac so I use a different program to compare. I can see differences but I’ll need you to look and tell me what to change. I’m not sure if I can just simply change the version to 3.7.0 or if the code itself needs to be altered. Would you take a look please? Here’s the NEW orders.php file: Thanks!

      
      <?php
      /**
       * Orders
       *
       * Shows orders on the account page.
       *
       * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/orders.php.
       *
       * HOWEVER, on occasion WooCommerce will need to update template files and you
       * (the theme developer) will need to copy the new files to your theme to
       * maintain compatibility. We try to do this as little as possible, but it does
       * happen. When this occurs the version of the template file will be bumped and
       * the readme will list any important changes.
       *
       * @see https://docs.woocommerce.com/document/template-structure/
       * @package WooCommerce/Templates
       * @version 3.7.0
       */
      
      defined( 'ABSPATH' ) || exit;
      
      do_action( 'woocommerce_before_account_orders', $has_orders ); ?>
      
      <?php if ( $has_orders ) : ?>
      
      	<table class="woocommerce-orders-table woocommerce-MyAccount-orders shop_table shop_table_responsive my_account_orders account-orders-table">
      		<thead>
      			<tr>
      				<?php foreach ( wc_get_account_orders_columns() as $column_id => $column_name ) : ?>
      					<th class="woocommerce-orders-table__header woocommerce-orders-table__header-<?php echo esc_attr( $column_id ); ?>"><span class="nobr"><?php echo esc_html( $column_name ); ?></span></th>
      				<?php endforeach; ?>
      			</tr>
      		</thead>
      
      		<tbody>
      			<?php
      			foreach ( $customer_orders->orders as $customer_order ) {
      				$order      = wc_get_order( $customer_order ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
      				$item_count = $order->get_item_count() - $order->get_item_count_refunded();
      				?>
      				<tr class="woocommerce-orders-table__row woocommerce-orders-table__row--status-<?php echo esc_attr( $order->get_status() ); ?> order">
      					<?php foreach ( wc_get_account_orders_columns() as $column_id => $column_name ) : ?>
      						<td class="woocommerce-orders-table__cell woocommerce-orders-table__cell-<?php echo esc_attr( $column_id ); ?>" data-title="<?php echo esc_attr( $column_name ); ?>">
      							<?php if ( has_action( 'woocommerce_my_account_my_orders_column_' . $column_id ) ) : ?>
      								<?php do_action( 'woocommerce_my_account_my_orders_column_' . $column_id, $order ); ?>
      
      							<?php elseif ( 'order-number' === $column_id ) : ?>
      								<a href="<?php echo esc_url( $order->get_view_order_url() ); ?>">
      									<?php echo esc_html( _x( '#', 'hash before order number', 'woocommerce' ) . $order->get_order_number() ); ?>
      								</a>
      
      							<?php elseif ( 'order-date' === $column_id ) : ?>
      								<time datetime="<?php echo esc_attr( $order->get_date_created()->date( 'c' ) ); ?>"><?php echo esc_html( wc_format_datetime( $order->get_date_created() ) ); ?></time>
      
      							<?php elseif ( 'order-status' === $column_id ) : ?>
      								<?php echo esc_html( wc_get_order_status_name( $order->get_status() ) ); ?>
      
      							<?php elseif ( 'order-total' === $column_id ) : ?>
      								<?php
      								/* translators: 1: formatted order total 2: total order items */
      								echo wp_kses_post( sprintf( _n( '%1$s for %2$s item', '%1$s for %2$s items', $item_count, 'woocommerce' ), $order->get_formatted_order_total(), $item_count ) );
      								?>
      
      							<?php elseif ( 'order-actions' === $column_id ) : ?>
      								<?php
      								$actions = wc_get_account_orders_actions( $order );
      
      								if ( ! empty( $actions ) ) {
      									foreach ( $actions as $key => $action ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
      										echo '<a href="' . esc_url( $action['url'] ) . '" class="woocommerce-button button ' . sanitize_html_class( $key ) . '">' . esc_html( $action['name'] ) . '</a>';
      									}
      								}
      								?>
      							<?php endif; ?>
      						</td>
      					<?php endforeach; ?>
      				</tr>
      				<?php
      			}
      			?>
      		</tbody>
      	</table>
      
      	<?php do_action( 'woocommerce_before_account_orders_pagination' ); ?>
      
      	<?php if ( 1 < $customer_orders->max_num_pages ) : ?>
      		<div class="woocommerce-pagination woocommerce-pagination--without-numbers woocommerce-Pagination">
      			<?php if ( 1 !== $current_page ) : ?>
      				<a class="woocommerce-button woocommerce-button--previous woocommerce-Button woocommerce-Button--previous button" href="<?php echo esc_url( wc_get_endpoint_url( 'orders', $current_page - 1 ) ); ?>"><?php esc_html_e( 'Previous', 'woocommerce' ); ?></a>
      			<?php endif; ?>
      
      			<?php if ( intval( $customer_orders->max_num_pages ) !== $current_page ) : ?>
      				<a class="woocommerce-button woocommerce-button--next woocommerce-Button woocommerce-Button--next button" href="<?php echo esc_url( wc_get_endpoint_url( 'orders', $current_page + 1 ) ); ?>"><?php esc_html_e( 'Next', 'woocommerce' ); ?></a>
      			<?php endif; ?>
      		</div>
      	<?php endif; ?>
      
      <?php else : ?>
      	<div class="woocommerce-message woocommerce-message--info woocommerce-Message woocommerce-Message--info woocommerce-info">
      		<a class="woocommerce-Button button" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
      			<?php esc_html_e( 'Go to the shop', 'woocommerce' ); ?>
      		</a>
      		<?php esc_html_e( 'No order has been made yet.', 'woocommerce' ); ?>
      	</div>
      <?php endif; ?>
      
      <?php do_action( 'woocommerce_after_account_orders', $has_orders ); ?>
      
      

      Thank you!
      Brent

    • #33154
      Harry
      Support Expired

      Hi Brent,

      1. It has different on line 17 change version to 3.7.0

      2. On line 20-22 change

      if ( ! defined( 'ABSPATH' ) ) {
      	exit;
      }

      to

      defined( 'ABSPATH' ) || exit;

      3, and on line 62 change to

      echo wp_kses_post( sprintf( _n( '%1$s for %2$s item', '%1$s for %2$s items', $item_count, 'woocommerce' ), $order->get_formatted_order_total(), $item_count ) );

      It like you don’t override anything on this file. If you don’t override please remove this file to it get content from plugin and you don’t have to take care if have change on future.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #33171
      brent
      Support Expired

      Thanks harry, i think i got it

      Thank you!
      Brent

    • #34081
      brent
      Support Expired

      Hi Harry.

      I’m beginning to add some jewelry items to my store and on the main shop page I don’t want to show the gemstones and the jewelry all mixed together. Can I show 2 categories of products? Something like 2 rows of gemstones above 2 rows of jewelry. Here’s the page:

      https://instockgems.com/shop/

      Thank you!

      Thank you!
      Brent

    • #34082
      Harry
      Support Expired

      Hi Brent,

      I’m sorry it can’t do like you want, it will mix product of category.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 132 reply threads

You must be logged in to reply to this topic.