Forum Replies Created

Viewing 32 posts - 1 through 32 (of 32 total)
  • Author
    Posts
  • in reply to: errors originating from simple auctions #68889
    dave
    Participant

    I have a feeeeeling… this isnt one of your products 😀 as you just make the integration

    sorry, my bad

    in reply to: Activate License #62719
    dave
    Participant

    also i’m having the same trouble. i cant deactivate and activate on a site (we’ve just put it live). i think i have about 3 months left. There doesn’t seem to be the option anymore

    in reply to: Activate License #62718
    dave
    Participant

    was it always a year license? does this mean it cannot be used?

    in reply to: How to redirect after product is saved #41951
    dave
    Participant

    i just added to the end of a wcv_save_product hook in the end. hopefully it’s not gonna override anything

    in reply to: Testing Adaptive Payments #40362
    dave
    Participant

    Failure. Limit Exceeded (10306): The user’s international account needs to have its sending limit removed in order to make a mass payment.
    Payment total: £2.76

    This is the error i’m receiving

    in reply to: Testing Adaptive Payments #40359
    dave
    Participant

    The dashboard says there is commission due, but its not paid

    in reply to: Testing Adaptive Payments #40358
    dave
    Participant

    The payment leaves the the sellers account

    but never arrives in either the vendor or the admin’s account

    dave
    Participant

    I’ll need to actually test if this doesnt mess with other things before doing a pull request

    in reply to: Testing Paypal Payments #40004
    dave
    Participant

    Has anyone in general tested?

    I cant see where to apply the paypal app

    dave
    Participant

    Fixed buy it now not showing

    Okay, basically, _price wasnt getting set from vendor dashboard, neither was the _buy_it_now_price. As _price wasnt getting set, it threw an error.

    Right, the problem arose when i put a value in it. As there is a multiplication, it requires the value to be forced to an intval, otherwise it throws an error.

    anyway, i hope this help someone.

    NB: if you are using auctions along side other types of products, you may or may not want to put a check in there for the type of product being saved. as i’m not, i haven’t.

    add_action('wcv_save_product', 'fix_buy_it_now', 60, 3);
    
    function fix_buy_it_now($post_id)
    {
    
        $meta = get_post_meta($post_id);
    
        if(
            isset($meta['_regular_price']) &&
            !empty($meta['_regular_price']) &&
            $meta['_auction_start_price'] < $meta['_regular_price']
    
        ){
            update_post_meta($post_id, '_buy_it_now_price',  intval($meta['_regular_price']));
            update_post_meta($post_id, '_price', intval( $meta['_regular_price']));
        }
    
        return;
    
    }

    just a casual 10 hours of debugging…

    dave
    Participant

    Okay, i’ve fixed it i think.

    dave
    Participant

    line 151 in class-wcvendorw-pro-table-helper.php is where it falls over

    $this->rows = apply_filters( 'wcvendors_pro_table_rows_' . $this->id, $results->posts, $results );

    $results, posts and id is set.

    Still cant figure out why adding the meta value of _price and _buy_it_now_price causes it to error out here

    dave
    Participant

    I cant for the life of me find the code that generates the dashboard page

    dave
    Participant

    so far the issue seems to be with the meta value ‘_price’ not being set when saving as an auction. This is usually set when saving an auction in the back end.

    Using the following…

    add_action('wcv_save_product', 'fix_bid_now_button', 60, 3);
    
    function fix_bid_now_button($post_id)
    {
        $meta = get_post_meta($post_id);
    
        if (isset($meta['_buy_it_now_price'])  or !empty($meta['_buy_it_now_price']) ) {
          update_post_meta($post_id, '_price', $meta['_buy_it_now_price']);
          return;
        }
    }

    While this now allows the buy it now button to show, it stops the dashboard from loading the products.

    It may just be a simpler fix to override the template for showing the bid now button and do a manual check if worst comes to worst and i cant find a solution to that

    I dont know if this is of any use, and i’m still not sure if it’s my end or wc vendors stopping this from being set

    dave
    Participant

    I’ll try and debug it, but it would be good to know if it’s me or something that’s in the code either way:

    it’s currently failing on

    if ( ! $product->is_purchasable())return; in

    ..simple_auction/templates/single/product/add-to-cart/auction.php

    line 12

    i’m going to see if i can find a work around with a wcv_save_product hook

    dave
    Participant

    Is this still an issue?

    in reply to: Paypal Adaptive Payments Setup #39926
    dave
    Participant

    What about the sections for ‘Adaptive Accounts’, ‘3rd party permissions. Are we to set anything in these areas?

    in reply to: Paypal Adaptive Payments Setup #39377
    dave
    Participant

    ‘The screenshots below will guide you. However do note these changes as of May 30th 2016:’

    I just dont want to mess up,

    in reply to: Loading Ratings in Sidebar #39223
    dave
    Participant

    Thanks!!

    in reply to: Featured Image Upload failing #39040
    dave
    Participant

    and it’s fixed…

    replaced

     
    $args['custom_attributes']['data-rules'] = 'required';
    $args['custom_attributes']['data-error'] = __( 'This field is required.', 'wcvendors-pro' );
    
    

    I was overwriting the array value instead of adding to it.

    Thanks anyway XD always seems to be something simple

    in reply to: Featured Image Upload failing #39031
    dave
    Participant

    yeah, i narrowed it down to these functions after using the parent theme on its own, then deleting each file individually, then each of my functions in my functions.php.

    function wcv_product_description_required( $args ) {
    
        $args[ 'custom_attributes' ] = array(
            'data-rules' => 'required', 
            'data-error' => __( 'This field is required.', 'wcvendors-pro' )
        );
    
        return $args;
    }
    add_filter( 'wcv_product_description', 'wcv_product_description_required' );
    
    add_filter('wcv_product_width',  'wcv_product_description_required' );
    add_filter('wcv_product_height',  'wcv_product_description_required' );
    add_filter('wcv_product_length',  'wcv_product_description_required' );
    
    add_filter('wcv_product_weight',  'wcv_product_description_required' );
    add_filter('wcv_simple_auctions_auction_type',  'wcv_product_description_required');
    
    add_filter('wcv_simple_auctions_start_price',  'wcv_product_description_required');
    add_filter('wcv_simple_auctions_start_date',  'wcv_product_description_required');
    add_filter('wcv_simple_auctions_end_date',  'wcv_product_description_required');
    
    

    It seems to be any filter

    in reply to: Featured Image Upload failing #38935
    dave
    Participant

    It’s not using any of those templates. Are there any pointers as to where or what to look for in debugging?

    Thanks

    in reply to: Featured Image Upload failing #38934
    dave
    Participant
    
    ### WordPress Environment ###
    
    Home URL: http://marketauction.dev
    Site URL: http://marketauction.dev
    WC Version: 2.5.5
    Log Directory Writable: ✔
    WP Version: 4.5.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    Language: en_GB
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.9 (Win32) PHP/5.5.12
    PHP Version: 5.5.12
    PHP Post Max Size: 3 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 2500
    SUHOSIN Installed: –
    MySQL Version: 5.6.17
    Max Upload Size: 3 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.5.5
    : 
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_termmeta: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    
    ### Active Plugins (5) ###
    
    WC Vendors Pro Simple Auctions: by WC Vendors – 1.0.3
    WC Vendors Pro: by WC Vendors – 1.3.3
    WC Vendors: by WC Vendors – 1.9.1
    WooCommerce Simple Auction: by wpgenie – 1.1.38
    WooCommerce: by WooThemes – 2.5.5
    
    ### Settings ###
    
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Shop Base: #7 - /search/
    Basket: #8 - /my-account/cart/
    Checkout: #9 - /checkout/
    My Account: #10 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: auction (auction)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Zeedynamic Theme
    Version: 1.0.0
    Author URL: http://example.com
    Child Theme: ✔
    Parent Theme Name: zeeDynamic
    Parent Theme Version: 1.1.5
    Parent Theme Author URL: https://themezee.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: zeedynamichildtheme/woocommerce/archive-product.php
    zeedynamichildtheme/woocommerce/product-searchform.php
    zeedynamichildtheme/woocommerce/single-product\product-image.php
    zeedynamichildtheme/woocommerce/single-product.php
    
    ### WC Vendors Pro ###
    
    Theme Compatability: -
    Pro Dashboard Page: ✔ 
    			 - #377
    Feedback form page: ✔  - #378
    Vendor Shop Permalink: ✔  - artist/
    
    ### Templates ###
    
    Overrides: –
    
    in reply to: Featured Image Upload failing #38933
    dave
    Participant

    I think the issue is my theme. When i disable it, it works.

    in reply to: Featured Image Upload failing #38819
    dave
    Participant

    I am working on my local machine, and there are no paths using https also and i’ve commented out my functions.php so nothing there either.

    dave
    Participant

    oh sorry, i did, i thought i type it.

    Is it just my installation or is it how it is?

    Also, i’m assuming that the simple auctions integration is designed not to have a stock quantity set judging by line 134 where it auto updates the post_meta?

    in reply to: Customise Product Fields #38625
    dave
    Participant

    This is to make the input field have a min-max value.

    add_action(‘wcv_product_stock_qty’, ‘show_stock_qty’);

    function show_stock_qty($args){
    $args[‘placeholder’] = __( ‘Set a minimum of one item’, ‘wcvendors-pro’ );
    $args[‘custom_attributes’] = array(
    ‘step’ => ‘1’,
    ‘min’ => ‘1’,
    ‘max’ => ‘100’
    );

    return $args;
    }

    /** and in style.css
    *
    /

    .wcv-form .control>input:out-of-range {
    border: 2px solid red;
    }

    Now to do backend validation

    in reply to: Customise Product Fields #38621
    dave
    Participant

    I’;ve managed to show the stock quantity by default by editing a template copy and removing the surrounding div box.

    Is it possible to set a minimum value on form fields using the form helper and set a default value?

    And is there a way to show the validation errors at the top?

    in reply to: Force Required Image #38609
    dave
    Participant

    ah okay, so it’s just through wordpress as normal,

    i’ll do that,

    cheers

    in reply to: Force Required Image #38570
    dave
    Participant

    I’m on WC Vendors pro, though I don’t think that makes a difference and I didnt want to start a new thread

    in reply to: Force Required Image #38567
    dave
    Participant

    and would also like to force width/height/length and weight to be required also

    in reply to: Force Required Image #38566
    dave
    Participant

    Hi,

    I am having the same problem, but i can’t seem to find the one for required the featured image in that list

Viewing 32 posts - 1 through 32 (of 32 total)