Jump to content

Adding/Joining new details to a product*


johnjasonz
 Share

Recommended Posts

Hello World :)

 

Guys I'd like to add new details to a product and displaying in the footerproduct hook just before the tabs (see image- issue_2.png)

 

I'm creating a AdminController & ObjectClass (image-issue_1.png) but the problem is how can i join those information(CPU,RAM,Motherboard etc...) to a product?

 

And also I'd like to associate Product's ID with the Server's ID and get the Product Name and Reference as you can see in the image down below.

 

 

i created new table in DB which stores (id_server,cpu,motherboard,etc..)

Should i create product_server to associate those two tables? or?

 

Thank you.

post-581710-0-62314000-1370433301_thumb.png

post-581710-0-65242000-1370433324_thumb.png

Edited by johnjasonz (see edit history)

Share this post


Link to post
Share on other sites

but why you use creating additional tables? You can create attributes by using default presta features, then on product page you can display information about certain attribute

  • Like 1

Share this post


Link to post
Share on other sites

I'll try that, creating attributes by using default presta features but then i might edit the (tpl&css) the content instead of list

eg:

  • CPU cpu value here
  • MotherBoard motherboard value
  • RAM ram value

I'll make turn into

 

<table border ="1">
<tr>
<td>Cpu</td>
<td>value here</td>
</tr>
<tr>
<td>Motherboard</td>
<td>value </td>
</tr>
<table>

post-581710-0-97077100-1370438479_thumb.png

Edited by johnjasonz (see edit history)

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More