Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

I managed to lose the price on item detail page

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-05-2016, 12:23 PM
 
Ridgeway1 Ridgeway1 is offline
 

Member
  
Join Date: Jan 2016
Posts: 25
 

Default I managed to lose the price on item detail page

Hello,

I somehow managed to lose the item "Price" on the item detail pages. I went in and did a theme tweak to remove the quick view option from the items. I also deleted the magnifying glass reference. I must have deleted something else.

See here: http://www.ridgewaycompany.com/xcart/cart.php?target=product&product_id=40

Can anyone tell me where to go to add the price back to the detail pages?

The common.price.tpl file is still there, unchanged.

Any help would be appreciated.

Thanks.
__________________
Version No: 5.2.10

Go Social
Color Schemes:
Shipping:

Product filter module

Disable Drag’n’drop add to cart

Theme Tweaker

Wholesale

Contact us

Sales tax
Color schemes

Coupons

Custom product tabs.

Featured products

News

Pitney Bowes International

Product Advisor

Product Reviews

Product Variants

Webmaster Kit
Reply With Quote
  #2  
Old 02-05-2016, 12:39 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: I managed to lose the price on item detail page

You added this CSS I think:
Code:
.product-details span.product-price, .product-quicklook span.product-price { display: none; }

I think you should change this to:

Code:
.product-quicklook span.product-price { display: none; }
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 02-05-2016, 01:36 PM
 
Ridgeway1 Ridgeway1 is offline
 

Member
  
Join Date: Jan 2016
Posts: 25
 

Default Re: I managed to lose the price on item detail page

I don't think that is exactly what I did, but it is close. Which CSS file?

The ratings stars, etc are missing as well. I think I may have deleted some java script?

Could I resolve this by uploading files from a backup?

Please help.
__________________
Version No: 5.2.10

Go Social
Color Schemes:
Shipping:

Product filter module

Disable Drag’n’drop add to cart

Theme Tweaker

Wholesale

Contact us

Sales tax
Color schemes

Coupons

Custom product tabs.

Featured products

News

Pitney Bowes International

Product Advisor

Product Reviews

Product Variants

Webmaster Kit
Reply With Quote
  #4  
Old 02-05-2016, 03:26 PM
 
Ridgeway1 Ridgeway1 is offline
 

Member
  
Join Date: Jan 2016
Posts: 25
 

Default Re: I managed to lose the price on item detail page

OK Lets approach it from this angle. How would I "insert" the product price somewhere?
__________________
Version No: 5.2.10

Go Social
Color Schemes:
Shipping:

Product filter module

Disable Drag’n’drop add to cart

Theme Tweaker

Wholesale

Contact us

Sales tax
Color schemes

Coupons

Custom product tabs.

Featured products

News

Pitney Bowes International

Product Advisor

Product Reviews

Product Variants

Webmaster Kit
Reply With Quote
  #5  
Old 02-07-2016, 05:57 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: I managed to lose the price on item detail page

You never edit core css files, so you must either have your own CSS where you have been making modifications or you used the Custom CSS in the admin.

The price exists on that page. I see it on line 412 of view-source:http://www.ridgewaycompany.com/xcart/cart.php?target=product&product_id=40

Someone has added:
Code:
.product-details span.product-price, .product-quicklook span.product-price { display: none; }

Which has two class definitions as you can see. the .product-details span.product-price is the one affecting the price on this page. It is set to display none.

If you either edit the css above and remove the reference to that class, or add somewhere lower:
Code:
.product-details span.product-price { display: block; }

then your price will display.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
qualiteam (02-07-2016)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:56 PM.

   

 
X-Cart forums © 2001-2020