Title: k.devantoni's Replies | WordPress.org

---

# k.devantoni

  [  ](https://wordpress.org/support/users/kdevantoni/)

 *   [Profile](https://wordpress.org/support/users/kdevantoni/)
 *   [Topics Started](https://wordpress.org/support/users/kdevantoni/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kdevantoni/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kdevantoni/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kdevantoni/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kdevantoni/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kdevantoni/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WC Shop Sync – Square Payment Gateway and Product Synchronization for WooCommerce] Undefined constant “SQUARE_VENDOR_COMISSION_INC_ITEMS”](https://wordpress.org/support/topic/undefined-constant-square_vendor_comission_inc_items/)
 *  Thread Starter [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-constant-square_vendor_comission_inc_items/#post-16411617)
 * Thanks, expecting an update for php 8 ASAP!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WC Shop Sync – Square Payment Gateway and Product Synchronization for WooCommerce] Undefined constant “SQUARE_VENDOR_COMISSION_INC_ITEMS”](https://wordpress.org/support/topic/undefined-constant-square_vendor_comission_inc_items/)
 *  Thread Starter [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-constant-square_vendor_comission_inc_items/#post-16409830)
 * Any quick fix available ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WC Shop Sync – Square Payment Gateway and Product Synchronization for WooCommerce] Undefined constant “SQUARE_VENDOR_COMISSION_INC_ITEMS”](https://wordpress.org/support/topic/undefined-constant-square_vendor_comission_inc_items/)
 *  Thread Starter [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-constant-square_vendor_comission_inc_items/#post-16406691)
 * php 8.1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Different page layouts for category vs subcategory?](https://wordpress.org/support/topic/different-page-layouts-for-category-vs-subcategory/)
 *  [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/different-page-layouts-for-category-vs-subcategory/#post-3151769)
 * Okie got it fixed
    [http://wordpress.stackexchange.com/questions/3507/custom-field-values-in-permalink/3517#3517](http://wordpress.stackexchange.com/questions/3507/custom-field-values-in-permalink/3517#3517)
 *     ```
       <?php
       global $post;
       $terms = wp_get_post_terms( $post->ID, 'product_cat' );
       foreach ( $terms as $term ) $categories[] = $term->slug;
   
       if ( in_array( 'audio', $categories ) ) {
         echo 'In audio';
         woocommerce_get_template_part( 'content', 'single-product' );
       } elseif ( in_array( 'elektro', $categories ) ) {
         echo 'In elektro';
         woocommerce_get_template_part( 'content', 'single-product' );
       } else {
         echo 'some blabla';
       } ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Different page layouts for category vs subcategory?](https://wordpress.org/support/topic/different-page-layouts-for-category-vs-subcategory/)
 *  [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/different-page-layouts-for-category-vs-subcategory/#post-3151768)
 * Really Fantastic conversation !
    Now I just wanna know something to display different
   layout for product (single product page) under the these categories,…. hmm k 
   let me define,
 * if category A display AA template for subcategories also the single product layout
   in AA , similarly
    if category B display BB template for subcategories also the
   single product layout in BB where I get all layout correctly except the “Single-
   Product.php”
 * Hi, **imevilduckie** can you please suggest me the technique ? thx in advance
   😉
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Category Widget – Problem with Parent Slug in Dropdown mode](https://wordpress.org/support/topic/category-widget-problem-with-parent-slug-in-dropdown-mode/)
 *  [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/category-widget-problem-with-parent-slug-in-dropdown-mode/#post-3296571)
 * Hi have similar issues for wp_dropdown_categories() were I have customized something
   to bring two main categories post and their stuff
    as It brings something like
   this
 * > /search-result/?cate=18&area=108
 *  now I need to bring this as seo friendly url I cant figure out what else I have
   gone wrong can anyone help me ….
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Shopp Plugin Image Upload Error](https://wordpress.org/support/topic/shopp-plugin-image-upload-error/)
 *  [k.devantoni](https://wordpress.org/support/users/kdevantoni/)
 * (@kdevantoni)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/shopp-plugin-image-upload-error/#post-2255108)
 * When uploading image its not loading .., as well as its showing 404 for order
   and setting.., can any one help .. thanks in advance!
    dev:-)

Viewing 7 replies - 1 through 7 (of 7 total)