How to sell by different variables?

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #18776

Ok that worked =) Thanks a lot Nicolas!

But is there a way to edit the "each"? Thats kind of what I wanted edited

This is what its displaying:

$5.00 each
5$ for 1/2 lbs

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
13 years 5 months ago #18779

The each word can be changed in that view:
echo JText::_('PER_UNIT');

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #18782

But then it changes it for every product. I only want it for the one product :(

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
13 years 5 months ago #18784

Yes. You need to change that code...like explained previously:
switch($this->row->product_code){
case 'product_1':
echo JText::_('PER_UNIT');
break;
default:
echo 'other text';
break;
}

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #18785

Yes I did that but again its showing it like this:

$5.00 each
$5 1/2

Its showing the price by each THEN my added variable.

Like here:
magnismunchies.com/index.php/component/h...pathway-0?Itemid=257

Last edit: 13 years 5 months ago by Johnny B.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
13 years 5 months ago #18788

As much as we like to help, our time is finite. We already gave you where to modify and how. We can't make your customizations for you on our forum. If you want us to do it for you on your website, please use our contact form to request a quote.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #18790

Ok thats understandable. I greatly appreciate all of the help!

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum