PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to build up a shopping site using LUG, but...

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion
View previous topic :: View next topic  
Author Message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Thu Jul 28, 2011 9:29 am    Post subject: How to build up a shopping site using LUG, but... Reply with quote

Hi, I'm settin up a new site using articles as products using tradedoubler product catalogue

this is a product sample page I created using UDI:
http://www.univershopping.com/es/producto-98/chaacutendal-entrenamiento-nintildeo-uefa-champions-league-real-madrid-2010-2011-altura-116.html

however I'd like to know how to change product extra pages (new, popular, ...) in order to show picture URL and product URL, also I need to enable instant preview, without need to click on product title link

another interesting feature is the option to order product by price ascending or discending

thanks for help
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5695

PostPosted: Thu Jul 28, 2011 1:50 pm    Post subject: Reply with quote

The variable #%url%# can be used in templates to show the current link URL. If you want to make available some variables which are not available by default, please email me.
Back to top
View user's profile Send private message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Fri Jul 29, 2011 4:35 am    Post subject: Reply with quote

I did some test and that variable (#%url%#) didn't work for me

however I could add some UDI just below article title, what I coulnd't do is adding article image, I tried with the same variable used on other _a .txt templates, #%image_1%#, but while it works for them, doesn't work for articles...I used Picture URL field when I imported articles from file...

need help on this


I need these modifications:

1) sorting articles by ascending/discending price

2) disable ajax popup and replace it with article details page link

pls let me know what you need
Back to top
View user's profile Send private message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Fri Jul 29, 2011 4:40 am    Post subject: Reply with quote

adultweb wrote:

disable ajax popup and replace it with article details page link


done!
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5695

PostPosted: Fri Jul 29, 2011 8:38 am    Post subject: Reply with quote

Please email me if you need some changes. I unfortunately don't understand what you did and can't send you any changes in this forum.

Of course the variable #%url%# can be used only for links, not for articles.

In the current version of Link Up Gold are not used the ajax popup boxes to show details of individual items.
Back to top
View user's profile Send private message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Tue Sep 06, 2011 2:31 am    Post subject: Reply with quote

let's reset all previuos comments and start again,

I'm importing a product feed from tradedoubler as articles, to import image link of each product I select "picture URL", when I check each article on article details from administration, pictures load well as well on articles details public pages, product image is shown ok (without UDI field), like this one

http://www.univershopping.com/es/producto-141/camiseta-blanca-liacuteneas-entrenamiento-nintildeo-real-madrid-2009-2010.html

the problem is on articles extra pages (new, popular, top rated and pick) and articles search results pages, articles images don't load...:

http://www.univershopping.com/es/productos/extra/new.html
http://www.univershopping.com/es/productos/extra/top_rated.html
http://www.univershopping.com/es/productos/extra/top_rated.html
http://www.univershopping.com/es/search.php?action=articles_simple&phrase=Entrenamiento&B1=Busca+en+productos
http://www.univershopping.com/es/search.php?action=articles_simple&phrase=Tienda Real Madrid&B1=Busca+en+productos

I don't understand why it happens because I'm using the default LUG image field for articles, if it works for articles detail pages, it should also work for articles extra pages...

pls let me know if you need data to log into admin area
Back to top
View user's profile Send private message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Tue Sep 06, 2011 2:43 am    Post subject: Reply with quote

2 things:

on article details pages template the variable #%pictures_gallery%# is used to show articles picture url

on article_a.txt I use this code
<a href="#%item_details_url%#"><img border="0" src="#%image_1_big%#" alt="#%title_no_tag%#" style="float: left; margin: 0px 5px 0px 0px;"></a> to point to article details page

i tried to replace #%image_1_big%# with #%pictures_gallery%# but didn't work

remember I don't upload articles images on my server
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5695

PostPosted: Tue Sep 06, 2011 5:20 am    Post subject: Reply with quote

It looks that the imported images are included in the detailed description of these articles. If so, you need to use the variable #%text%# in the template article_a.txt. This variable will show the complete detailed description incl. the image. If these items are not articles but news, use the variable in the template new_a.txt.
Back to top
View user's profile Send private message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Tue Sep 06, 2011 6:45 am    Post subject: Reply with quote

No, from administration area, on article editing screen, the image is shown as "Image #1" field, the text field is only the description of the article
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5695

PostPosted: Tue Sep 06, 2011 8:25 am    Post subject: Reply with quote

Sorry I can't help you in this forum since you apparently use a custom import tool so I don't know how the records look like in the database. Feel free to email me if you want me to check it.
Back to top
View user's profile Send private message
adultweb



Joined: 20 Jan 2005
Posts: 274

PostPosted: Tue Sep 06, 2011 8:54 am    Post subject: Reply with quote

email just sent
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group