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

Wholesale pricing on category listing

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-15-2014, 02:39 PM
 
tls tls is offline
 

Advanced Member
  
Join Date: Sep 2014
Posts: 40
 

Default Wholesale pricing on category listing

I would like the wholesale pricing to show up on the category listing page.

In this thread http://forum.x-cart.com/showthread.php?t=63549 they talk about doing this in x-cart 4

Is the structure for this similar between 4 and 5 so that I can use that thread as a starting place? Or is there some additional abstraction that I need to wrap my head around when working with x-cart 5?

It appears that the products.php file needs to do the query to pull the data from the database and then the products_list.tpl shows the data by including the product_prices.tpl in the middle of it somewhere.
__________________
X-Cart Business 5.2
Wholesale
Product Filter
Reply With Quote
  #2  
Old 10-15-2014, 11:38 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Wholesale pricing on category listing

Coding for X-Cart 5 is completely different than for X-Cart 4.

Please use this online documentation:
http://kb.x-cart.com/
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 10-17-2014, 06:18 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Wholesale pricing on category listing

Hi tls!

This is an interesting task and I will be glad to help you with it. As a first step, create your own module according to the guide here:
http://kb.x-cart.com/display/XDD/Step+1+-+creating+simplest+module

Then, I will explain what to do next.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote

The following user thanks tony_sologubov for this useful post:
qualiteam (10-17-2014)
  #4  
Old 10-17-2014, 08:44 AM
 
tls tls is offline
 

Advanced Member
  
Join Date: Sep 2014
Posts: 40
 

Default Re: Wholesale pricing on category listing

I looked over those directions and it's more than I can get done before I leave town for a week. So I will have to re-visit this after I return.

At first I was intimidated about the learning curve of all this custom module stuff. Then I realized that I could add and remove all my changes with a single click to not just my store but both my production and test environments as well as send the module to others for testing and enhancements.

So although I don't have time right now, I am looking forward to seeing how well this works. Much of the code I am seeing is above my head and I am struggling to read it. I wrote a couple hundred lines of PHP code about 6 years back.
__________________
X-Cart Business 5.2
Wholesale
Product Filter
Reply With Quote

The following user thanks tls for this useful post:
tony_sologubov (10-20-2014)
  #5  
Old 10-20-2014, 06:03 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Wholesale pricing on category listing

Hi Brian!

I know, it is kind of scary to start writing for X-Cart 5, but I will guide you through the first steps and you will see that it is not _that_ scary.

Just bump a thread, once you get back to this task and I will help you with it.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:50 PM.

   

 
X-Cart forums © 2001-2020