Jump to content

Missing product name and price from product listing (rescaling problem)


Recommended Posts

Hello, i did make an upgrade with "1-click upgrade" to custom theme Prestashop 1.7.4.2, after upgrade layout of the product listing has been changed so it doesn´s show product name or price in product listing if scaling window size or using mobile phone. Attached pics from problem.

I tried already to modify theme.yml file with no effects. Tried change size of images from BO, regenerate thumbnails and clear cache, no effects. Theres´s source of theme.yml:

name: sting
display_name: Sting
version: 1.7.2.4
theme_key: 25a584b6f18d3701f907158bf4818c8a
author:
  name: "WEB-PLUS"
  email: "[email protected]"
  url: "https://sting17.pegasthemes.com"

meta:
  compatibility:
      from: 1.7.1.0
      to: ~

  available_layouts:
    layout-full-width:
      name: Full Width
      description: No side columns, ideal for distraction-free pages such as product pages.
    layout-both-columns:
      name: Three Columns
      description: One large central column and 2 side columns.
    layout-left-column:
      name: Two Columns, small left column
      description: Two columns with a small left column
    layout-right-column:
      name: Two Columns, small right column
      description: Two columns with a small right column
    layout-product:
      name: Product page
      description: Only center column with moved breadcrumb

assets:
  css:
    all:
      - id: font-awesome
        path: assets/css/font-awesome/css/font-awesome.min.css
        media: all
        priority: 200

  # If you're using this theme as child and you want to load
  # the parent theme assets, uncomment this line.
#  use_parent_assets: true

  # The following lines are showing how to load assets in your page
  # Uncomment and change value to start loading css or js files
#  css:
#    all:
#      - id: custom-lib-style
#        path: assets/css/custom-lib.css
#    product:
#      - id: product-style
#        path: assets/css/product.css
#        media: all
#        priority: 200
#  js:
#    cart:
#      - id: cat-extra-lib
#        path: assets/js/cart-lib.js

global_settings:
  configuration:
    PS_IMAGE_QUALITY: png
    NEW_PRODUCTS_NBR: 3
  modules:
   to_enable:
    - ps_linklist
    - wpbacktotop
    - wpbestsellers
    - wpblocknewproducts
    - wpblockspecials
    - wpcopylogo
    - wpfbblock
    - wphomefeatured
    - wpimageslider
    - wpstyleswitcher
    - wpthemeconfigurator
    - wpzoom
   to_disable:
     - ps_imageslider
     - welcome
     - ps_customtext
     - ps_featuredproducts
  hooks:
    modules_to_hook:
      displayNav1:
        - ps_contactinfo
      displayNav2:
        - ps_languageselector
        - ps_currencyselector
        - ps_customersignin
      displayTop:        
        - ps_shoppingcart
        - ps_mainmenu
        - ps_searchbar        
      displaySlider:
        - wpimageslider   
      displayHomeTab:
        - wphomefeatured
        - wpblocknewproducts
        - wpblockspecials      
        - wpbestsellers
      displayHomeTabContent:
        - wphomefeatured
        - wpblocknewproducts
        - wpblockspecials
        - wpbestsellers
      displayWpBanner:
        - wpthemeconfigurator
      displayHome:
        - wpthemeconfigurator
      displayFooterBefore:
        - ps_emailsubscription        
        - ps_socialfollow
      displayFooter:
        - ps_linklist
        - ps_customeraccountlinks
        - ps_contactinfo
        - wpfbblock
        - wpthemeconfigurator
      displayFooterAfter:
        - wpcopylogo
      displayLeftColumn:
          - ps_facetedsearch
      displaySearch:
        - ps_searchbar
      displayWpSocial:
        - ps_sharebuttons
      displayReassurance:
        - blockreassurance
      displayBackOfficeHeader:
        - ~
        - wpthemeconfigurator
        - wpstyleswitcher

  image_types:
    cart_default:
      width: 160
      height: 160
      scope: [products]
    small_default:
      width: 130
      height: 130
      scope: [products, categories, manufacturers, suppliers]
    medium_default:
      width: 160
      height: 160
      scope: [products, manufacturers, suppliers]
    home_default:
      width: 300
      height: 300
      scope: [products]
    large_default:
      width: 1000
      height: 1000
      scope: [products, manufacturers, suppliers]
    category_default:
      width: 1460
      height: 513
      scope: [categories]
    stores_default:
      width: 170
      height: 115
      scope: [stores]

theme_settings:
  default_layout: layout-full-width
  layouts:
    category: layout-full-width
    best-sales: layout-full-width
    new-products: layout-full-width
    prices-drop: layout-full-width
    contact: layout-full-width
    product: layout-product

dependencies:
  modules:
    - wpbacktotop
    - wpbestsellers
    - wpblocknewproducts
    - wpblockspecials
    - wpcopylogo
    - wpfbblock
    - wphomefeatured
    - wpimageslider      
    - wpstyleswitcher
    - wpthemeconfigurator
    - wpzoom    

 

Can someone help me please?

sample2.PNG

sample1.PNG

 

 

 

Edit: The problem occurs with  mobile view and full size desktop view, rescale the browser window fixes it but it needed to work with full size too.

Edited by Futuh (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...