Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/23/2020 :  10:23:38  
I use the parameters $nopriceanywhere=TRUE; and $noprice=true; in includes.php but I still see a price with related products.

How can I remove the price?

Thanks!

----
Guy
Quebec, Canada
https://www.lineaire.com

Vince
Administrator

42709 Posts

Posted - 12/23/2020 :  10:51:43  
Hi Guy
You can define the parameter $csproductpagelayout in your includes.php file to specify the page elements you want in the cross sell features, and leave out price related elements. For example...

$csproductpagelayout='productimage,productname,discounts,reviewstars,instock,detaillink,quickbuy';

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/23/2020 :  12:53:15  
Well, it don't appear to make any changes on cle-usb.ca.

I don't use $csproductpagelayout on lineaire.com and I don't have this problem, but it's not the last version.

----
Guy
Quebec, Canada
https://www.lineaire.com

Edited by - Guy on 12/23/2020 13:28:56

Vince
Administrator

42709 Posts

Posted - 12/24/2020 :  00:23:06  
Can you let me know the URL then of a page that this happens on and I'll take a look.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  02:11:07  
Hello Vince,

https://www.cle-usb.ca/Carte_USB_livraison_rapide

----
Guy
Quebec, Canada
https://www.lineaire.com

Vince
Administrator

42709 Posts

Posted - 12/24/2020 :  04:32:39  
Sorted Guy. There is actually a parameter $relatedtabtemplate which you could have set to say...

$relatedtabtemplate='<div class="reltabimage">%img%</div><div class="reltabname">%name%</div><div class="reltabdescription">%description%</div>';

...leaving out the %price%. But at the same time, the default should not include the price if the $noprice parameters are set so I made a change to the incproddetail.php to change that.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  06:22:04  
Thanks Vince!

And Merry Christmas!!!

----
Guy
Quebec, Canada
https://www.lineaire.com

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  06:46:52  
BTW, how can I make the related product name in bold?

Thanks again!

----
Guy
Quebec, Canada
https://www.lineaire.com

Vince
Administrator

42709 Posts

Posted - 12/24/2020 :  07:02:17  
This is the default value

<div class="reltabimage">%img%</div><div class="reltabname">%name%</div><div class="reltabdescription">%description%</div>

So you could use say...

div.reltabname{
font-weight:bold;
}

And a happy Christmas to you too!

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  07:09:43  
Hello Vince,

I added
div.reltabname{font-weight:bold;}
to ect.css but it don't appear to have any effect.



----
Guy
Quebec, Canada
https://www.lineaire.com

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  08:08:11  
I also notice that the related products tab don't look the same in Firefox and Google Chrome.

Firefox


Google Chrome


Not sure why...

----
Guy
Quebec, Canada
https://www.lineaire.com

Vince
Administrator

42709 Posts

Posted - 12/24/2020 :  09:00:05  
Ok, the definitive...

div.reltabname > a.ectlink:link,
div.reltabname > a.ectlink:visited,
div.reltabname > a.ectlink:active {
font-weight: bold;
}
div.reltabimage{
float:left;
}

Vince


Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  09:13:01  
What do I need to do with this?

----
Guy
Quebec, Canada
https://www.lineaire.com

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  09:28:33  
Maybe I should go back to the previous version.

Things look worst with this one.

By example, at this break point :



----
Guy
Quebec, Canada
https://www.lineaire.com

Vince
Administrator

42709 Posts

Posted - 12/24/2020 :  16:42:14  
Add those styles to the ect.css file for instance. But apart from the position of the cross sell product name I see things ok. If you have problems like above, please give details like the browser and the size you are viewing at.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Guy
ECT Moderator

Canada
2494 Posts

Posted - 12/24/2020 :  17:55:42  
Hello Vince,

Hey! It's Christmas, you should not work!

I will ask Phil to look into this, he's better then me!

Thanks!

----
Guy
Quebec, Canada
https://www.lineaire.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000