WordPress.org

Support

Support » Themes and Templates » Boot Store » Each individual product's page has 'bre_add_to_home_carousel:'

Each individual product's page has 'bre_add_to_home_carousel:'

  • each product is ok when seen in grid view but when individually the page of the product is opened , it has bre_add_to_home_carousel: this written and at 1 product it also has this
    bre_image_for_carousel: s:226:"a:3:{s:4:"file";s:76:"/home/celebraw/public_html/wp-content/uploads/2013/10/Optimized-DSC_1197.jpg";s:3:"url";s:78:"http://www.celebratecity.com/wp-content/uploads/2013/10/Optimized-DSC_1197.jpg";s:4:"type";s:10:"image/jpeg";}";

Viewing 1 replies (of 1 total)
  • OK I found the problem. For some reason within the boostrap-carousel-class.php, might be spelt wrong but that’s pretty close. The code actually edits the meta tag. There is no reason for this, well none I’m aware of.

    On line 59/60 might have lost count. Your looking for

    update_post_meta( $post_id, 'bre_add_to_home_carousel', isset( $_POST['bre_add_to_home_carousel'] ) );

    Comment it out, this only works for products not added to the carousel.

    There is a similar bug on line 67/68. It’s within the else and says update_post_meta.

    I have an alternative slider already, so I commented out both lines. Besides completely breaking the carousel I see no problems.

Viewing 1 replies (of 1 total)
  • The topic ‘Each individual product's page has 'bre_add_to_home_carousel:'’ is closed to new replies.
Skip to toolbar