Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vanessacolletcolomb

    (@vanessacolletcolomb)

    Hello,
    Since version 1.9.55 I can’t update because each time the variable products don’t work anymore on the client side.
    In version 1.9.55 everything works correctly.

    Thread Starter vanessacolletcolomb

    (@vanessacolletcolomb)

    Hello,
    no I can’t, the site is in production and my client is using it.
    Just for the record I didn’t have this problem before the updates

    Thread Starter vanessacolletcolomb

    (@vanessacolletcolomb)

    Hello,
    I have created the following code:

    add_filter( 'auto_listings_metabox_details', function ( $fields ) {
        $prefix = '_al_listing_';
        $fields[3] = array(
            'name' => __( 'Mise en circulation', 'auto-listings' ),
            'desc' => __( 'A custom description', 'auto-listings' ),
            'id' => $prefix . 'mise_circulation',
            'type' => 'text',
        );
        return $fields;
    } );

    And I put it in the file you gave me but it doesn’t work, I don’t have any fields displayed on the car page.
    code:

    $details_array = array(
    	__( 'Vehicle', 'auto-listings' )               => auto_listings_vehicle(),
    	__( 'Price', 'auto-listings' )                 => auto_listings_price(),
    	__( 'Mise en circulation', 'auto-listings' )   => auto_listings_mise_circulation(),
    	auto_listings_miles_kms_label()                => auto_listings_odometer(),
    	__( 'Color', 'auto-listings' )                 => auto_listings_meta( 'color' ),
    	__( 'Registration', 'auto-listings' )          => auto_listings_meta( 'registration' ),
    	__( 'Transmission', 'auto-listings' )          => auto_listings_transmission(),
    	__( 'Body', 'auto-listings' )                  => auto_listings_body_type(),
    	__( 'Drive Type', 'auto-listings' )            => auto_listings_drive_type(),
    	__( 'Engine', 'auto-listings' )                => auto_listings_engine(),
    	__( 'Fuel Economy Combined', 'auto-listings' ) => auto_listings_fuel_economy(),
    );
Viewing 3 replies - 1 through 3 (of 3 total)