I can´t figure out to change place of "shop_table" I can´t figure out to change place of "shop_table"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

I can´t figure out to change place of "shop_table"

Started by friisco, May 16, 2008, 11:00:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

friisco

Ola!!!

I am having a problem in to find wher I should find "shop_table".
At the moment the form is displayed at the top of the image and I would like to change to under the image!!!
The code in displayimage is:
<table class="shop_table">
<tr>
<td>
<form action="" method="post">
  Add product to shopping basket: <select name="item_id" class="listbox_lang"><option value="1">Box - Euro78.00</option></select>
<input type="hidden" value="37" name="pid" />
<input type="hidden" value="add_item" name="event" />
    <input type="submit" value="Add to the basket" class="comment_button" />
</form>
</td>
</tr>
</table>

but I can´t find in displayimage.php where coud I move this block so this will be displayed under the picture.
also have been check if in template.html or theme.php of my theme and I can´t figure out where is the "shop_table" supose to be.

Somebody can please send me a linh or give me a advise of where should I look  at!!!

Thank´s

Stramm

it's in plugins/photo_shop/codebase.php -> function photoshop_add_item()

within that function find
$pic_data['html'] = $shop_data.$pic_data['html'];
and change it to
$pic_data['html'] = $pic_data['html'].$shop_data;

friisco

Ola... I did that and the pictine and the menu desapire!
A message ARRAY show where was supose to be the menu that says add to the basquet.

I have another question that made explain better what I need.

It is possible to set that customer can only buy the album? Would be the best if I can set the add to the basket button on top of each album that shows in the album list view. and not at the slide show.

Can you please tell me if that is possible?

Thank´s

Stramm

there was a typo in my above post, retry

And no, that's not how the shop's working. It's item based and pricing by album if you set that in config.

friisco

Ok... Now the shop_table is at the right place! Thanks.

I did set in configuration the album price. But beacause they can add to the basket in all pictures at slide show, the customers getting confuse.

If it is not possible to move the shop_table to the top of each album ... maybe is that somehow possible to set that user can only add to the basket one picture for each album in the same order? In that way they just have to change the ammount of albums in ORDER MENU.

Thank´s... very much for your time!!